Trigger flow only through the insert of a record producer

Meloper
Kilo Sage

Hi, i have a flow.

Meloper_0-1673610725938.png

This flow is selected in the HR Service

Meloper_1-1673610760832.png

 

Service.

 

The flow runs if i order the RP, but i runs also if i create a new record on that table as admin.

Can we set a value that this flow should only run for this Service?

5 REPLIES 5

Kartik Choudha1
Tera Guru

Hey @Meloper ,

 

You can select the Trigger as 'Service Catalog'. It will run only for your Record producer whenever it gets submitted/ordered.

 

KartikChoudha1_0-1673612258859.png

Hope this helps!

Regards,

Kartik

i tried this but it seems to be, that it is not working.
I i create a new case, i have to select an hr service and maybe because of that there is the RP linked, it runs also the flow?

yeah i checked again, the flow is running also.

if i click on test, 

i can only select ritms no rps, so i guess its only IT related

Meloper_0-1673613539123.png

 

Pavankumar_1
Mega Patron

Hi @Meloper ,

You need the separate field to identify the record producer records and use that field on condition.

If it helps please click Accept as Solution/hit the Thumb Icon.
ServiceNow Community MVP 2024.
Thanks,
Pavankumar