Copied to clipboard

Flag this post as spam?

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


  • Richard Barg 358 posts 532 karma points
    Jan 31, 2013 @ 01:34
    Richard Barg
    0

    Leveraging Conditional Logic on a Form to Drive Custom Workflows

    Is is possible via a custom workflow work with conditional logic of form area.

    Here is an example:

    • User checks Dept. A checkbox on form -> Workflow posts "saves as Umbraco document" record to Node A in Umbraco content tree.
    • User checks Dept. B checkbox on form-> Workflow posts "saves as Umbraco document" record to Node A in Umbraco content tree?
    In the example below, I am creating a separate Umbraco form for each lab to post a publication.  It would be ideal to have one form and have checkboxes corresponent to our 20 labs. The workflow would then save the Contour form results to the Umbraco node associated w/the lab.  Can this be done in a custom workflow with Contour 3?

     

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Jan 31, 2013 @ 09:14
    Tim Geyssens
    0

    Might work with the default save as umbraco document workflow, enter an xpath the setup the parent location and use the value to look for the node based on the name (using the bracket syntax to easily fetcth the value)

  • Richard Barg 358 posts 532 karma points
    Jan 31, 2013 @ 19:10
    Richard Barg
    0

    Thanks Tim. Here is a related question.   Would it be possible, using the above workflow or a variation of it, to save the document to multiple locations in tree.  For example, if we wanted to add a publication, see screenshot below, to more than one node on a single pass, ie the Publications page on several websites w/in the Umbraco tree, after the form is submitted.

     

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Feb 01, 2013 @ 08:39
    Tim Geyssens
    0

    Sure but you'll need to customize the workflow for that 

    Sourcecode for the default providers is available on the project page http://our.umbraco.org/projects/umbraco-pro/contour

    Or here is a direct link :) http://our.umbraco.org/FileDownload?id=2922

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies