Subflow Create Record Sys ID
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I have a subflow that creates a record using "Create Record" action. Unfortunately this subflow does not have any output variables. I am trying to get the sys_id of the record created by this flow so I can use it in a reference field down the track.
When I go to the step where this subflow is used; I only see "Context" and I am not sure how to get the sys_id of the record. I tried the "sys_id" field under the context and also the "Source Record" field under the context but that doesn't work.
As I have multiple steps following the subflow, I don't want to change subflow at this moment as otherwise I will need to change the reference in multiple steps below and may also have to redo these steps.
Any hints?
Thanks !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sunday
Thank you Bhuvan, Ankur and Kaushal. I ended up with a look up record and then grabbing the sys_id from there for the time being but I will keep all your input in mind. Bhuvan's input could also be greatly helpful but I can't try it now. I will try it on my PDI soon. Thank you all.