About publishing and versions of flows

bonsai
Mega Sage

I created a subflow in the Flow Designer.

After publishing it once, when the flow was run while being edited, it ran with the published information.
The flow being edited is in "draft" status.

However, even if a user with admin privileges performs the same operation, the flow does not run with the published information.
Is this by design?

1 ACCEPTED SOLUTION

@bonsai 

before publishing it will take the older version

You can run the subflow and test and also the flow but if you test the flow then it will use the earlier published version of that subflow

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@bonsai 

Once the subflow is published, you need to refresh the flow again

Remove the earlier subflow attached and again add that subflow which recently got published.

Then it will take the latest changes for subflow

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Thank you for your answer!

I understand that publishing is necessary!

But I wanted to know where the flow information that runs before publishing is,

and whether admin users can run draft flows.

This is part of my study.

@bonsai 

before publishing it will take the older version

You can run the subflow and test and also the flow but if you test the flow then it will use the earlier published version of that subflow

If my response helped please mark it correct and close the thread so that it benefits future readers.

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