Hi Shiva,
If I understood correctly, there are 2 steps here. One is to get rid off Add Task Dialog popup and another one is to just bypass the actual launch step within the discretionary task context.
If you want to bypass the Add Task Dialog popup, create a script action or a custom icm action to create a new task editable object and broadcast icm.AddTask event with proper payload object.
If you just want to bypass default launch step/step processor, you need to override the callback function of the Add Task Dialog with setting the flag taskType.launchInfoRequired = false. You may need to set some task properties here.
Depending on your use case you can do both of these by combining.I hope this helps. If you find a better approach or need more detail on this let me know.
------------------------------
Ramesh Bhat
------------------------------
Original Message:
Sent: Wed April 24, 2024 02:09 PM
From: Shiva B
Subject: Skip launch step in the discretionary task
Hi ,
Is there any way we can Skip the launch step(displaying Add Task page) in the discretionary task when triggered from the UI.
We are using the OOTB Add Activity action(toolbar button) on UI to initiate the Discretionary tasks. We have a new addition to the existing list of tasks where Add Task (launch step/Step Processor) should be avoided. Please suggest
(This can be done in the backend/using script, but the business wanted this to be along with the existing)
------------------------------
Shiva B
------------------------------