- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2024 09:14 AM
Hello Team,
I was wondering how is it possible to get by code, the short description field of my current action in the description field ?
Thank you for your advise
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 10:54 AM
Hi @Maxime,
Right, I see what you are trying to do. I don't think you can use 'current' or any of the objects here as the record/reference hasn't been created yet.
One workaround I can think of is to use a Flow variable and use it across both of the short description and description fields.
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2024 09:31 AM
Hi @Maxime ,
Your syntax should be like below:
var sysId = fd_data.trigger.current.short_description;
If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!
Thanks & Regards,
Sumanth Meda
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 12:29 AM
Hello @Sumanth16
Thank you for your help. It doesn't work, error: attempting to use undefined input = 'current' from Service Catalog item request
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 01:26 AM
Hey @Maxime,
I assume you are using the 'Service Catalog' for the Flow trigger?
If so, you can use the following to retrieve the short description of the RITM
fd_data.trigger.request_item.short_description
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 01:49 AM
Hey @James Chun
Yes but it's not the requested item short description which is needed here. I need to set the description of my current task with short description of my current task dynamicaly.
I search the equivalent in workflow editor of : task.description = task.short_description+"...end of my description...";
Regards