Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to show workflow stages of Custom Table in Service Portal.

Community Alums
Not applicable

Have a requirement of showing workflow stages of custom table in Service portal. 

I tried cloning Requested item widget and Request Item Workflow Stages widgets and placed Requested Item widget on Ticket Form page in Service portal. But it is not rendering stages.

find_real_file.pngfind_real_file.png

10 REPLIES 10

Ravi Peddineni
Kilo Sage

@Abdullah 

Stage render widget uses stage_state table to save the stage information for Requested Items. So for the custom table record, You have to create a record in that table and the stage value will be in JSON format. Check out the format for the other records in that table and create a similar one for the custom record.

Community Alums
Not applicable

OK, will give try.

 

Thanks

 

 

@Abdullah 

 

Let me know if it works successfully. 

Community Alums
Not applicable

provided solution was not working.

Did some changes in custom script and got it working.