For a single table X, I have a workflow that is triggered by column B changing values:
Since there is no condition on the email task I am struggling to find a solution to this that doesnโt involve duplicating workflows to handle each disjoint case.
Problems:
The simplest/best I can come up with is to always send the email but use logic to create an empty To: list in the cases where I donโt want to send the email.
Another solution would be to have two workflows W1 and W2, each triggered with disjoiint logic to achieve the desired effect of selecting the workflow that will send the email.
Features that would solve this cleanly:
@Phil, do you have any suggestions?
We do not currently make this easy.
The best option at this point is to define two workflow rules with the appropriate conditions.
will the new Automation improve some of these non-orthogonalities and ease of use cases?
Whaaaaaaaa? Not sure what you mean by this.
The solution is right in front of you (you actually mention it twice)โฆ separate out your workflows into two separate ones
There is no confusion about which of these workflows would fire of first.
In regards to your previous discussion about workflows and when they fire off:
@MultiTech_Visions not sure how to inline responsesโฆ
on the first point: if I look at the available action in the actions section (not in a workflow) there is only โStart an Emailโ but not the full send an email like is available as a workflow task. Note I am using โactionโ and โtaskโ to distinguish between the two ways to โdo somethingโ.
I will try the triggering approach again, when I did it before the order in the log was unpredictable and it wasnโt working. Iโll retry, most likely I set something up wrong and that led to all my questionsโฆ
Weโve all been there!
I couldnโt tell you how many times Iโve reached out to Support@AppSheet.com, only to have them be like โuhhโฆ you forgot to do Xโ haha
But you should know that if youโre using the action to open an email
That type of action is used to launch a user into an email app; whereas the workflow email thing is for sending complete emails (generating a file, sending it off).
I re-checked and stripped down my app in a sandbox area. I find that workflows are not being retriggered as I would expect.
Layout:
Here is what is happening on the save of the form that initiates the use case of interest, and the audit log agrees (and related to my other post) (I can share a screenshot of the log if needed):
I would like to share my appโs definition but I am not sure if this works (I set it to have users in the entire domain):
https://www.appsheet.com/Template/AppDef?appName=RH-Participant-debug-wf-ap-1-2165388&quickStart=Fal...
To run the app: https://www.appsheet.com/start/2a4695e1-711b-4975-a5b6-b7a47d16adfc
To see the audit log (I hope): https://www.appsheet.com/manage/viewLog?appTemplateId=2a4695e1-711b-4975-a5b6-b7a47d16adfc
The two tables:
Participant Info: Participant Info - Google Sheets
Application Processing: Application Processing - Google Sheets
To reproduce in the App:
Stephen,
I am not sure I am following, but are you aware that Data Change actions do not trigger workflows?
See topic " Workflow Rules are Not Triggered" in this article Workflow | AppSheet Help Center
Data Change made by the REST API do invoke workflow rules. The REST API can be invoked from a workflow rule using a webhook.
Then I am thoroughly confused about how to have one workflow trigger another one, @MultiTech_Visions maybe some clarification would be helpful, I am certain I am missing something key here if both you and Phil are both making statements that are true.
That confusion would be on my part, I misspoke when I said:
What I actually ment to say is, migrate your data change to an action - and have that trigger your workflow. (I know, nothing like what I said before. ) But thatโs what I was thinking in my mind, and intending to convey - I just failed horribly at that one. Mia culpa
Instead of using a workflow to accomplish the data change, you can migrate those into composite actions and view event actions.
thanks a bunch for all your help! I am slowly wrapping my head around the casesโฆ
If I had read the Workflows doc closely and internalized it, I would have not asked so many questionsโฆ
There is a lot to learn with AppSheet - A LOT - and weโre all still learning, even myself. It seems like every day I discover some new thing that I can do with AppSheet.
Good luck!!
User | Count |
---|---|
15 | |
12 | |
9 | |
8 | |
4 |