Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


beechc
2021-05-28T20:49:40Z
I have a series of workflows that act off of an email trigger, each requiring different behaviour once triggered, so ruling out a combined workflow. The emails all come from a single system to a monitored mailbox, with only a difference in the subject line. In a group of 3 workflows as an example I need to compare the subject as "containing" a specific value in 2 of the workflows, and then not fire the trigger on the remaining workflow based on it "not containing" the two values for the others.

Workflow 1 would trigger on a Subject condition of Contains (=%) Transfer request
Workflow 2 would trigger on a Subject condition of Contains (=%) 11489756,00,J,1,GL for ABCXYZ
Workflow 3 would trigger on a Subject condition of Not Contains (!=%) Transfer request AND Not Contains (!=%) 11489756,00,J,1,GL for ABCXYZ

Workflow 3 essentially functions as a catch all for any email whose subject does not get triggered by the first two.


I have tried with multiple triggers, but these operate in a 'OR' by default. I have tried using a semi-colon between entries as works on other values such as paths or file filters, but nothing seems to work. Multiple triggers can also not be configured as dependent as there is no order to the receipt of the messages.

Can the Subject condition of the email trigger be expanded to support multiple conditions for which there is no other way to filter the messages?

I found a reference to a similar ask for 4 years ago.
https://www.visualcron.c....aspx?g=Posts&t=7277 
Sponsor
Forum information
Support
2021-06-03T13:35:55Z
Originally Posted by: beechc 

I have a series of workflows that act off of an email trigger, each requiring different behaviour once triggered, so ruling out a combined workflow. The emails all come from a single system to a monitored mailbox, with only a difference in the subject line. In a group of 3 workflows as an example I need to compare the subject as "containing" a specific value in 2 of the workflows, and then not fire the trigger on the remaining workflow based on it "not containing" the two values for the others.

Workflow 1 would trigger on a Subject condition of Contains (=%) Transfer request
Workflow 2 would trigger on a Subject condition of Contains (=%) 11489756,00,J,1,GL for ABCXYZ
Workflow 3 would trigger on a Subject condition of Not Contains (!=%) Transfer request AND Not Contains (!=%) 11489756,00,J,1,GL for ABCXYZ

Workflow 3 essentially functions as a catch all for any email whose subject does not get triggered by the first two.


I have tried with multiple triggers, but these operate in a 'OR' by default. I have tried using a semi-colon between entries as works on other values such as paths or file filters, but nothing seems to work. Multiple triggers can also not be configured as dependent as there is no order to the receipt of the messages.

Can the Subject condition of the email trigger be expanded to support multiple conditions for which there is no other way to filter the messages?

I found a reference to a similar ask for 4 years ago.
https://www.visualcron.c....aspx?g=Posts&t=7277 



Hi,
Currently this isn't possible, but I suggest you make a feature request for this in our FR section on the forums. We go through them regularly.

Michael
Support
http://www.visualcron.com 

Please like  VisualCron on facebook!
Scroll to Top