Adding a record as variable into a subflow (in flow designer)

Bart Jan Bultma
Kilo Sage

I am creating a subflow for approval on requested items to reuse in multiple flows. The subflow has to check if the requester's manager exists, if that manager is not locked out, then ask for approval. If the manager does not exist or is locked out, approval goes to other teams.

I am unable to add the manager record or the req_item record as a variable that I can input in the subflow to do these checks. Does anyone have an idea how i can work around this?

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

pass the RITM sys_id to subflow and then check

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

pass the RITM sys_id to subflow and then check

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

I made an error in the saving/publishing of the subflow which caused the issue of not being able to pass the RITM :(. Its fixed now, thanks for your reply!

Any chance you could explain how to "pass the RITM sys_id to subflow"?