Approval state choices are not showing in the Playbook

PRAISETO CP
Tera Contributor

Hi All,

 

Please note that, I am trying to create a Playbook for an app which I am creating through the Creator studio. But when I use Approval step and in the next decision step, if I try to check if the approval is approved or not, it is not showing any choices for Approval state. Please help me with this. Thank You in advance.

1 ACCEPTED SOLUTION

Kristen Dettman
Kilo Sage
Kilo Sage

Are you on Xanadu? I was having the same issue, and ServiceNow created a known error for it, saying it was a bug in Xanadu and possibly the latest update to Playbooks. I had some success manually entering the state (e.g. typing "Approved"), but it was wiped out every time I edited the Playbook. Apparently this will be corrected in the future. Good luck!

View solution in original post

13 REPLIES 13

Tai Vu
Kilo Patron
Kilo Patron

Hi @PRAISETO CP 

If the activity from your screenshot associated with a subflow, the output Approval Status is the output of the associated subflow.

Timi_0-1726828868315.jpeg

 

So let navigate to the Automation tab of the activity, you will see the associated subflow. Sample below

Timi_1-1726828909241.png

 

Open the subflow, then expand the Input & Output section, you will see the configuration of all outputs.

Sample below.

Timi_2-1726829076184.png

 

So in your case if this output is also defined as String type like my screenshot, then it won't have any option to be selected.

If you wanna have options to be selected, the output must be modified as Choice type and you also need to add choices.

Sample

Timi_3-1726829224993.png

 

Enjoy!

Timi_4-1726829250392.png

 

 

Cheers,

Tai Vu

@PRAISETO CP 

Just saw your screenshot in regards to the Ask for Approval flow action.

If you wanna reuse the OOTB Ask for Approval, let give a try to create new activity then associated to the Ask for Approval flow action.

Sample below

Timi_5-1726829580213.png

Branch condition

Timi_6-1726829667653.png

 

Let me know if it works for you.

 

Cheers,

Tai Vu

Thank You for the solution. I edited the playbook in workflow studio and used the "Request Manager Approval" action. Now I am able to access the choices. But not sure why the OOTB action available in creator studio is broken for me. 

Hi @PRAISETO CP 

You can have a look to the associated Subflow in the Automation tab as I mentioned earlier.

Once you open it, you'll see how the Outputs are defined within the Subflow. If the Approval State is set as a String type, there won't be any predefined options to select from.

 

Cheers,

Tai Vu

Kristen Dettman
Kilo Sage
Kilo Sage

Have you figured this out? I'm experiencing the same issue! I'm brand new to Creator Studio, though, and I wasn't sure if I was handling the approval correctly.

 

Kristen