- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2021 08:31 PM
I have a use case, where I need to fetch the task number and task sys_id at create task workflow step to send these values to REST Message - POST method.
Any suggestion how I can get these values at the create task workflow step ?
I have created this workflow for a service catalog item and after approval stage I am creating a fulfillment task.
Any clue to get this done would be appreciated.
Regards,
Khalid
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2021 10:48 PM
Hi Khalid,
task sys_id can be obtained in the catalog task advanced activity using this
task.setNewGuid();
for getting task number workaround here
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2021 08:55 PM
Hi Ankur,
Thanks for the help! it went through successfully.
Regards,
Khalid