Manual trigger of workflows

As the title suggests, I was wondering if itโ€™s possible to manually trigger a workflow, perhaps through an action? I couldnโ€™t seem to find anything about it.
I have a few workflows in my app that generates PDFs from different tables and rows, and it would be great if it was possible to create a new PDF manually in case one should get deleted (so in fact I donโ€™t necessarily need to trigger the workflow, but it doesnโ€™t seem to be possible to save files with actions). I only found one other thread here regarding manual triggers, but the questions wasnโ€™t answered there.

Thank you in advance!
Best regards

Solved Solved
0 7 534
1 ACCEPTED SOLUTION

Hi, yes itโ€™s possible. One workaround is if you add a DateTime field to your table and the action will write NOW() into this column. Then you can write a condition rule like AND(ISNOTBLANK([PdfSent]),[_THISROW_BEFORE].[PdfSent]<>[_THISROW_AFTER].[PdfSent])

View solution in original post

7 REPLIES 7

Hi, yes itโ€™s possible. One workaround is if you add a DateTime field to your table and the action will write NOW() into this column. Then you can write a condition rule like AND(ISNOTBLANK([PdfSent]),[_THISROW_BEFORE].[PdfSent]<>[_THISROW_AFTER].[PdfSent])

Thanks, Iโ€™ll check it out. However, currently, the workflow is triggered by adding a row to the table. I assume Iโ€™ll have to change this to adds AND updates? I also assume Iโ€™ll have to give [PdfSent] an initial value since it will block the first add trigger if itโ€™s blank

Could copy your workflow and make that second one for the manual trigger while leaving the first working workflow alone.

True, that would of course also work

Yes, an initial value would be a good approach. If you donโ€™t want to do that, you could add an OR() statement likeโ€ฆ OR(NOT(IN([Key],TableName[Key])),โ€ฆ)

Aleksi is correct.

Also see topic โ€œSending Email from an Action Buttonโ€ in this article https://help.appsheet.com/en/articles/961707-workflow

I gave the [PdfSent] column an initial value and went with the condition Aleksi suggested. Thank you for your help!

Top Labels in this Space