Urgent: Rejection Reason Dropdown Popup in Workflow User Decision
I am stuck! Need your expert advise here.
I need to provide user with the popup of Rejection Reasons (dropdown) when he clicks on Reject in User Decision step.
I know that standard user decision provides a popup where we can enter text, however, I need to provide a dropdown list to the user so that he can pick the reason from the list.
For this, I have developed a custom Popup FM which I can call in Methods (tab) of user decision. I cannot call it in activity step after the user decision (in Reject branch) because that will create a separate work item which we don't want. We want to present it as PopUp.
My question is:
"How to pass workitem ID into the methods which are defined in the methods tab of the user decision step? If I have the work item ID , I can read the user decision and if it is rejected then I can call the popup...
Basically I want the method to be called only when the user Rejects. Right now it would be called for Approve as well. "
Or if you have any other suggestion to accomplish this, please let me know .
Thanks in Advance.