Schedule Workflow Problems making me cry

Hello I posted this a few months ago.

This problem smells like something @tylerboodman knows how to solve!

@YourFavFreelancer suggested using reoccurring events and that would have worked but sadly reoccurring events for some reason are extremely limited to 1 per thing. terrible… Is not the person’s fault he gave the correct answer just won’t work for my use case.

Also had @adamhholmes who suggested a workaround that sounds absolutely perfect and will be the theory I follow.

I have been reading this post now Can I schedule daily recurring events on the personal plan? - #3 by EthanB
I see @eli suggested what I will be doing as well!
His comment is
“you can get around this by simply rescheduling your workflow inside the workflow.
Set up your endpoint and make the first action be “schedule an API workflow’ and set the date to ‘current date/time +days 1’.
You will have to kick it off manually the first time but from there it works exactly the same as a daily recurring action.”

My question is:
-If I manually trigger the daily even to happen via:
action be “schedule an API workflow"

Is there a way I can have a button on the page that will allow the person to disable the automation?
Example (random use case):
-I provide a service for many companies and on each of the admin dashboards for each company there is a button to enable and disable a daily import of new products from an external API.
How can I check if there is a workflow schedule for that specific company and allow them to disable it?

Something like: Daily import status: Enabled[BUTTON"disable daily import"]
Then if its disabled the button will say [enable daily import]

Basically a way for the users to enable and disable the daily automation for their company on the app.

Yes you can have a daily workflow that runs everyday no matter what, then that schedules another workflow (either recursive workflow or “schedule on a list”) and the list it works off of will search for companies that only have their “daily import” yes/no field set to yes.

You just explained exactly what I am looking for.

It seems easy enough to do!

Thank you!

#boodmanfixes

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.