Is there any way to retreive the conditional logic set against a field in a workflow?
I'd like to be able to send an email using only the relevant fields rather than the blanket iterate all fields in the record but I'm not sure how I would go about it.
In your workflow you can make use of Send Xslt transformed email and choose what field you want to display depending on if the field is choosen or not.
Conditional logic in workflow
Is there any way to retreive the conditional logic set against a field in a workflow?
I'd like to be able to send an email using only the relevant fields rather than the blanket iterate all fields in the record but I'm not sure how I would go about it.
Many thanks
Simon
Hi Simon,
In your workflow you can make use of Send Xslt transformed email and choose what field you want to display depending on if the field is choosen or not.
That might help you .http://stackoverflow.com/questions/11037192/xslt-create-hyperlink-for-umbraco-form-in-contour
Comment author was deleted
Yeah you can fetch it using the API
Umbraco.Forms.Core.Field has a fieldcondition that has rules
So you can get it in the workflow e.Form.AllFields
Thankyou both,
I've marked Tims as its exactly what I was hoping for but must have missed it in the API documentation.
Cheers
Simon
is working on a reply...