I am trying to trigger a workflow from a form. I have had some success using in testing using a trigger filter which uses a typed in value in a form. e.g. $[?(@.formDefinitionId == ‘95402d1a-0023-40c1-8302-daf59c26d72d’ && @.formData.textField == “1”)]
Thanks for the input. This saves without any error but filling the form with the correct data does not trigger the workflow to run. I have tried many variations but nothing triggers it.
I think the secret may be understanding the formula to enter here:
As this will not save. I think it does not like the value.
If you select no operator it will trigger with any value and this is not what I need. Odd thing is you can only choose that one operator.
So I triggered it with just the form id in the trigger and typed in the value I wanted in the form.
Looking at the logs I can see the entry for what I prompted it for:
““formData””:{““FullSynchronisation””:[““Active Directory””]},““formDefinitionId””:""f62749ed-52d7-4d43-9183-84c014d1b19d
Forget about the Application name on the trigger ,
Create a trigger for the form, them after it create a action of Type Compare Strings, and on that you capture the FullSyncronization Value and see if active directory contains on it.