Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Simon Hewitt 65 posts 126 karma points
    Dec 11, 2013 @ 12:31
    Simon Hewitt

    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


  • Fuji Kusaka 2203 posts 4220 karma points
    Dec 11, 2013 @ 13:17
    Fuji Kusaka

    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 .

  • Comment author was deleted

    Dec 11, 2013 @ 15:49

    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

  • Simon Hewitt 65 posts 126 karma points
    Dec 12, 2013 @ 11:36
    Simon Hewitt

    Thankyou both,

    I've marked Tims as its exactly what I was hoping for but must have missed it in the API documentation.



Please Sign in or register to post replies

Write your reply to: