Asked by:
How can I initiate a publish workflow within another workflow?

Question
-
I am in my noob road to learn more for the Designer and the workflows. Now, I would like to know how could I initiate a 2010 publish workflow within another "Collect Signatures" 2010 workflow.I have created a copy from the out-of-the-box "Collect Signatures" 2010 workflow and added "Start Approval process" command. The below screenshot show the basic logic in the Designer:
As I see it, the "Parameter:Signers" is taken from the workflow parameters defined within the library. But what should I enter in "this column"? I would prefer to be able to enter the participants when I create a workflow from within the library instead to hard code them via Designer.
I hope I am clear enough to what I need to do. All feedback is welcome
All replies
-
Hi Kiri V,
You could initiate a 2010 publish workflow by changing the parameters after copying the workflow in the SharePoint designer.
For more detailed information, you could refer to the article below.
SharePoint Designer Walkthrough: “Copy & Modify” Publishing Workflow.
You could enter the approvers during the approval process in the “this column” in the approval workflow.
Actions available when your SharePoint site is running Microsoft SharePoint Server 2010.
Best regards,
Sara Fan
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.- Proposed as answer by Victoria XiaModerator Friday, January 22, 2016 1:36 AM
- Marked as answer by Victoria XiaModerator Thursday, January 28, 2016 9:33 AM
- Unmarked as answer by Kiri V Thursday, February 25, 2016 10:45 AM
-
Sara,
The solution worked but I want to add a condition to the workflow, to start publish only when the "Collect signatures" is successfully completed.
I used the workflow variables "IsItemApproved" and "IsItemApproved1" but both return value "false". Also at the workflow history the internal status show "Completed" and all tasks signed!
What did I do wrong? Which variable should I use to check that?
Thank you,
Kirk
-
OK, I have made some progress. I use a new workflow variable to trigger the publish workflow if the collecting signatures is successful. Here is my workflow:
But for some reason does not initiate the "Publish" workflow and I get the following log error:
What am I doing wrong? I followed the guides you have provided.