Need to display message after workflow trigger

Hello,

We have a requirement to display a warning message when after a workflow status change has been triggered. Currently we are using below code to display message but it gets stored in the History tab. Can you suggest how we can trigger a message on the screen itself instead of viewing them from the History tab. Thanks.

return new ActionResult(0, “Message”);

Add Comment
1 Answer(s)

Hello,
Workflow PX doesn’t show message on banner. If you use event framework, message can show up as banner on the status change pop up page to show errors.

Regards
Samalendu

Agile Angel Answered on February 24, 2017.

Thank you for your reply. Can you kindly be more specific on which class can I use in the event framework as I have not been able to display the message till now.

on February 25, 2017.

I have not written the code myself for a long time. However, i think you should use IWFChangeStatusEventInfo for the change status event. You should also configure the event to stop incase of error. Unfortunately, I dont have any sample code to share.

on February 27, 2017.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.