Inputting comments before hitting the Rejected Button

Hi @derrickthomasvdot
You have to change this button action to next

<Button action="next" label="Rejected"/>

If I do this, it will proceed to provisioning the database and AD. The rejection button is a “back” button because it goes back to the requestor so they can make the necessary changes.

The back button is a necessity. But, they have to put in a comment before it goes back to the requestor. That’s the logic I’m trying to code with your help.

Hi @derrickthomasvdot

I am not sure that is possible. As @drosenbauer mentioned previously you need next action for validation. Still, you can try it out by changing to

if (button.getAction() != null &amp;&amp; button.getLabel() != null &amp;&amp; button.getAction().equalsIgnoreCase("back")

Hi Jarin,

I tried that earlier as well but i hit the reject button and it went back to the requestors form to fill out instead of asking for comments before that happens.

I have attached the workflow these forms are used in. Maybe something in there?

Create Identity Process-Workflow.xml (15.6 KB)

You need likely different steps with different forms and then transition which moves workflow back to the form/step you need.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.