- 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 07:36 AM
Hi Sudhangshu,
I believe that you are calling onDemand Script Include. Try calling the script include using API Name.
Hopefully, this will help you to resolve your query.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2022 07:46 AM
Hi Muhammad,
Thanks for the reply first of all.
We are trying to call the script include using the API name in the format,
javascript: global.getLastResultDeveloperSuite();
Wanted to ask, if this is the correct way to call a scrip include using it's API name? Because the above is not working.
Thanks,
Sudhangshu Das

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2022 07:53 AM
Hi,
You can call any script include like below:
javascript: new global.scriptIncludeName().functionName();
Thanks,
Anil Lande
Thanks
Anil Lande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2022 08:01 AM
Hi Anil,
We have tried using what you have said, but somehow this is also not working.