- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-09-2020 05:38 AM
is there a way to trigger a flow designer twice a week - let's say Tuesday and Thursday?
Solved! Go to Solution.
- Labels:
-
Flow Designer

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-09-2020 06:02 AM
Hi,
I'm not sure this will work, however here I've found some information:
Scripting Triggers
A flow executes when called in a server script, such as a Business Rule. To execute a flow from a script, call the sn_fd.Flow.startAsync() method. Refer to the Flow Designer API documentation for details and examples on how to execute a flow from a script.
You might be able to do that, give a try using the examples provided in the above documentation.
Use the below solution as example for triggering the Flow based on the Date().getDay() as per your need:
If I have answered your question, please mark my response as correct and/or helpful.
Thank you very much
Cheers
Alberto

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-09-2020 05:57 AM
There's no way to do this in Madrid. I heard something about a feature that would let you parse dates and other data pull transforms coming in a release in the near future, but in light of that, right now you can only select Weekly (on a specific day) or daily (at a specific time).
In New York, you could possibly take the target date and run a function on it to determine what day of the week is and do an if condition for the value you want, but i haven't played enough with the Fx yet to determine if that's a solid solution.
Another option is post your idea to the Idea Board (see the community top menu). Our product managers use that as input. 🙂

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-09-2020 06:02 AM
Hi,
I'm not sure this will work, however here I've found some information:
Scripting Triggers
A flow executes when called in a server script, such as a Business Rule. To execute a flow from a script, call the sn_fd.Flow.startAsync() method. Refer to the Flow Designer API documentation for details and examples on how to execute a flow from a script.
You might be able to do that, give a try using the examples provided in the above documentation.
Use the below solution as example for triggering the Flow based on the Date().getDay() as per your need:
If I have answered your question, please mark my response as correct and/or helpful.
Thank you very much
Cheers
Alberto

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-09-2020 06:03 AM
Greetings Stefan,
Flow designer doesn't support that option in the trigger settings. You can setup a scheduled job, which calls your flow, and have that flexibility.
-Andrew Barnes
Join me at Developer Blog