- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2022 07:28 AM
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.
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
Solved! Go to Solution.
- Labels:
-
Script Debugger
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2022 08:42 AM
Hi Anil,
We have tried it again, and it's working. This is what we used:
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2022 09:15 AM
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
Thanks
Anil Lande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2022 09:09 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2022 02:00 AM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2022 09:20 AM
Please close this question by marking your own answer as correct, it would be helpful for other community members to refer appropriate solution.
Thanks
Anil Lande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2022 08:11 AM
As per my knowledge this is the recommended way to call an onDemand Script Include.