Finding inline scripts associated to respective flow designer's actions

maheshkhatal
Mega Sage

Hi All,

In pursuit of automation, I need to obtain information about the inline scripts written in actions associated with a particular flow. Could you please guide me on how to retrieve the inline script contents for each flow and its respective actions?

Please see the attached screenshot for more details.

Thank you,

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

@maheshkhatal 

data for flow is scattered and not stored in single table.

you might have to check sys_update_xml and type = "Action Type" or Flow

See the payload XML

Example: I was able to search inline script used in Flow Action

AnkurBawiskar_0-1755009077099.png

 

AnkurBawiskar_1-1755009091825.png

 

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

Ankur Bawiskar
Tera Patron
Tera Patron

@maheshkhatal 

sometime back I used approach shared here and it helped me to some extent, see if that works/helps you

https://www.servicenow.com/community/servicenow-ai-platform-forum/flow-designer-search-through-flows... 

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

@maheshkhatal 

Hope you are doing good.

Did my reply answer your question?

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 taking out time and explaining, we are giving up on that part for now. In the update set also any inline script you write is sort of encrypted. But glad I learned something along the way.