This project is read-only.

Orchard Workflow decision activity not firing

Topics: Administration, Customizing Orchard
May 14, 2014 at 9:06 PM
HI There

I have a workflow that uses the decision activity.
I am using the ContentCreated Activity and this needs to fire when the content item is created in the admin section.
I have tried numerous decisions but it it not firing.
 if (  "#{Content.Fields.PropertyLeads.ContactMethod}" == "Call") { SetOutcome("Call");  }
I have even tried and nothing happens
 if (  "a" == "a") { SetOutcome("Call");  }
Are there any other modules I need to enable in order to get this firing.

Also the content item I am creating has a content picker field.
How do I get the autoroute path of the content picker field item using tokens.


May 14, 2014 at 9:14 PM
I have also just notice now that any details I put in as tokens are not being sent through.

I just wanted to email the values to myself to test this is what i am using and the email comes through blank.

Hi {Content.Fields.PropertyLeads.FirstName} {Content.Fields.PropertyLeads.Surname}

May 14, 2014 at 10:28 PM
Try with the #{ TOKEN } syntax instead
May 14, 2014 at 10:31 PM
I have tried #{token} aswell.

Also not working