Not able to call a script include in the filter conditions in the trigger condition flow designer.

Community Alums
Not applicable

Hi all,

We want to use a dynamic condition in the trigger condition of a flow designer. We have made a script include and want to call the same in the trigger condition.

Below is the one that we are using. For the first condition, it is working absolutely fine. The moment we are calling the script include, it's not working.

image

Note: We have tried using the same method in the filter conditions of reports, and there it's working absolutely fine. But here, in flow designer it's not working.

 

Regards,

Sudhangshu Das

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hi Anil,

We have tried it again, and it's working. This is what we used:

image

Here, what's happening is,

We want to receive notifications according to this filter condition.

But what's happening is, when we are using just the above two conditions, it is triggering the notification. 

But, the moment we are using the third condition, even though we are getting the correct record in the filter, somehow it is not triggering the notification.

 

Thanks & Regards,

Sudhangshu Das

View solution in original post

14 REPLIES 14

This is strange, I tested my condition and it is also failing. My flow triggered every time new incident is created. 

 

Anyway glad to know your issue is resolved, thanks for sharing solution.

Happy Learning 🙂

Anil Lande

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

Community Alums
Not applicable

Hi Anil,

So the thing you tried was failing on your side as well? 

Actually the issue we are facing is with the notifications. The condition we used is giving us the record we need. But we are not getting the notifications for some reason.

And the notification thing is working fine for other conditions.

PS: We have used a shell script for the notifications.

 

Anyways, thank you so much for your time. You have helped a lot.

 

Regards,

Sudhangshu Das

Community Alums
Not applicable

Hi Anil,

We are finally able to do it. Somehow it's working fine with the classless script include and according to your method as well.

We were putting the other conditions wrong. 

Anyways, thanks for your time and involvement.

 

Regards,

Sudhangshu Das

Please close this question by marking your own answer as correct, it would be helpful for other community members to refer appropriate solution.

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

As per my knowledge this is the recommended way to call an onDemand Script Include.