Hi,
I have a process model , called from the interface using a!startProcess() upon hitting submit button. Each Node has been connected with activity chaining.
Nodes - There are two API calls and a user interface ( just a message with OK button -attended node configured for pp!initiator.
The process model works fine, but it waits in the User interface node for the initiator to attend it as task.
my requirement is : The Interface needs to get displayed in the Site which has to be accepted by the User and not go to the task list and accept. Any advice is appreciated.
Discussion posts and replies are publicly visible
Harshit Bumb (Appyzie) Can you please help.
If requirement is just to display message with "OK" button, rather then calling new interface in process model, use confirmMessage and confirmButtonLabel("OK") parameters from a!buttonWidget() in submit button. After user clicks "OK" call process model and hit API.
a!startProcess runs a process asynchronously and hence it will never show you any connected UI. You should use a!startProcessLink() instead which works synchronously. But remember, this cannot be called on a button. You will have to use a component that supports link.
Or you can add your interface where you are clicking the button in a process and then just submit the interface/task on the button click to see the next UIT immediately.
Hope that helps!
thanks for helping. I have the logic as per the comments and it is working.