- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2023 04:43 AM
Hi all,
I'm playing around with subflows. I can see that I can create an output variable with type Records.Incident (and then I can assign a collection of GlideRecords to that), or I can create an output variable with type Reference.Incident (and then I can assign the sys_id of a individual GlideRecord to that). Is there a way to assign a single GlideRecord (the whole record, not just the sys_id) to an output variable? Type 'Records.Incident' seems to allow only a collection, not a single record.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2023 06:37 AM
Hi Jamsta,
Please take a look at the images below how I got GlideRecord and logged some fields of it.
First, I defined a SubFlow with the Reference.Incident output. I took an random incident record and assigned it to the output variable
The test result can be seen on the next image:
Than, I created a Flow and added my SubFlow to the action list, and logged the number and the caller of the Incident:
You can see that the output of Subflow contains the whole record, not just the sys_id. I would recommend to try it again on your side.
Best regards,
Attila
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2023 06:37 AM
Hi Jamsta,
Please take a look at the images below how I got GlideRecord and logged some fields of it.
First, I defined a SubFlow with the Reference.Incident output. I took an random incident record and assigned it to the output variable
The test result can be seen on the next image:
Than, I created a Flow and added my SubFlow to the action list, and logged the number and the caller of the Incident:
You can see that the output of Subflow contains the whole record, not just the sys_id. I would recommend to try it again on your side.
Best regards,
Attila