Workflow issue

Cristina Lopez Yakimenko's Avatar

Cristina Lopez Yakimenko

07 Jan, 2015 04:19 PM

Hello, I have 3 destinations defined in cascade. My workflow should only publish my working copy only to one destination, butit publishes to all 3 destinations. Here is the code of my workflow:
Do you know why is it publishing to the 3 destinations and not to only the one I defined?

<system-workflow-definition name="dev_pages_development" initial-step="initialize" >
  <triggers>
    <trigger name="Publish" class="com.cms.workflow.function.Publisher" />
  </triggers>
  <steps>
    <step type="system" identifier="initialize" label="Initialization">
      <actions> <action identifier="publish" label="publish" move="forward">
        <trigger name="Publish">
          <parameter>
            <name>destination</name>
            <value>/var/www/onlinedev2</value>
          </parameter>
          <parameter>
            <name>publish-working-copy</name>
            <value>true</value>
          </parameter>
        </trigger>
        </action> </actions>
    </step>
    <step type="system" identifier="finished" label="Finished" />
  </steps>
  <non-ordered-steps/>
</system-workflow-definition>
  1. 1 Posted by Ryan Griffith on 07 Jan, 2015 04:35 PM

    Ryan Griffith's Avatar

    Hi Cristina,

    Based on what you area experiencing, I believe you may be running into this known defect in which if a Publish Trigger specifies a Destination that does not exist, the asset will be published to all available Destinations.

    By the looks of the path you are using, it looks like you may be using the directory on a web server as opposed to the path of a Destination. When you have a moment, please confirm whether you have a Destination that exists with a path of /var/www/onelinedev2.

    Please let me know if you have any questions.

    Thanks!

  2. 2 Posted by Cristina Lopez ... on 07 Jan, 2015 05:09 PM

    Cristina Lopez Yakimenko's Avatar

    Thank you Ryan,

    I change the destination value to "Destinations/DevelopmentServers/DEV-environment". This is the path to my dev destination and now it works correclty .
    Thank you very much for your prompt response!

    Regards,
    Cristina Lopez Yakimenko
    FIU Online | online.fiu.edu

  3. 3 Posted by Ryan Griffith on 07 Jan, 2015 05:45 PM

    Ryan Griffith's Avatar

    Thank you for following up, Cristina. I am glad to hear changing the Destination path did the trick.

    I'm going to go ahead and close this discussion, please feel free to comment or reply to re-open if you have any additional questions.

    Have a great day!

  4. Ryan Griffith closed this discussion on 07 Jan, 2015 05:45 PM.

Discussions are closed to public comments.
If you need help with Cascade CMS please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

 

26 Aug, 2016 01:19 PM
25 Aug, 2016 03:02 PM
25 Aug, 2016 12:50 PM
24 Aug, 2016 08:43 PM
24 Aug, 2016 07:20 PM
21 Aug, 2016 01:20 PM