How to show workflow stages of Custom Table in Service Portal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2022 03:11 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2022 04:26 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2022 05:43 AM
OK, will give try.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2022 10:45 AM
Let me know if it works successfully.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2022 02:14 AM
provided solution was not working.
Did some changes in custom script and got it working.