Maximo Open Forum

 View Only

 Workflow Task Node Dialog

  • Everything Maximo
Channakeshava Gode's profile image
Channakeshava Gode posted 12-03-2022 21:05
Team,
Please help if anyone has tried like below requirement.

When I click on route workflow button, I get a task node dialog (Complete Workflow Assignment) opened with 2 options like approve or reject. I'm making Memo field mandatory if users select the Reject option. So, If the user does not input Memo by choosing the Reject option and clicking OK button of task node dialog, system throws a mandatory field error, but the task node dialog gets closed. User must click on route workflow again to input the Memo.

The requirement here is to stay on the Task Node dialog even when a mandatory field (Memo) error is thrown.

P.S. Need to achieve this solution without Java customization.






Thanks,
Channa
Channakeshava Gode's profile image
Channakeshava Gode

Team,

I have achieved the solution through automation script with action launch point which is triggered from custom button (for example: CUSTOM_OK) on dialog.

 

Solution: 

  1. Add custom OK button into the Task node dialog (We can show/hide this button conditionally as required)

  1. Create sigoption for above mxevent name (LAUNCHDIALOG) in the application from where we route the workflow. From advanced signature option enable this option.
3. Create an automation script with action launch point for above mxevent/sigoption (LAUNCHDIALOG) with below logic. The object here is: COMPLETEWF (which is the object behind the task node dialog)

4. Task node dialog will be retained even when a Mandatory field error is thrown.


Hope this will be helpful. Please let me know for any doubts.