Change or Restart Workflow and Skip to Workflow

You have the option in server settings to "Restart current workflow for the selected projects", with the choices of skipping to current workflow stage or to a particular workflow stage. Using a new 2013 project server workflow neither of these
choices work. The project in each case is returned to the very first workflow stage.
Is this a bug or badly designed workflow?
Is this also the case with legacy 2010 workflows?
rgds
Mike
Mike Mahoney

Mike,
Thanks to John on the Product Team, I think I can explain what is going on.
I am going to assume you have a workflow similar to the one below? Some simple logic, a wait event and a transition or some type.
As the workflow progresses in the above case, it will log a message out, then wait for the submit button to be pressed before transitioning.  If you try to use the Change / Restart workflow function and choose Restart  > Skip to Stage 3, what
you will see is the workflow restart, log Stage 1 to the history list, and then wait for input. There is no skipping through as the workflow is waiting for the event.
The new workflows, whilst allowing looping etc, are essentially still sequential in nature, so to skip though the various stages, they need to start at the beginning and then progress through the stages depending on the logic in the stage transitions.
Just like in 2010, to get something to progress, you need to introduce some special 'Skip to Stage' logic (for want of a better phrase), with this logic, you can tell the workflow 'If the workflow is being run normally, or restarts the workflow and includes
this stage' execute the actions within. This is achieved by using the 'Include Stage' condition I mentioned in a post above.  In the example below, I have wrapped the logging and the Wait for submitted event in an 'Include Stage' action (and added
some extra logging)
Now when this workflow runs normally, it will go through and execute everything, including the bits inside the 'Include Stage' action because the workflow was started normally (as in the name). 
However, if I choose to restart > Skip to Stage 3 for instance, the workflow will realise it is in 'Skip to Stage' mode and not execute anything in the 'Include Stage' action as the workflow is not being run normally, nor is that stage included (we
are skipping to Stage 3). As the Wait for Submit is not executed, the workflow will not wait for the submit button to be pressed and progress without issue to the desired stage. From a logging perspective, you should see something like 'Stage 1 > Leaving
Stage 1 > Stage 2 > Leaving Stage 2 > Stage 3 > Included Stage 3.
It took some time, but I hope that explains what your seeing. If it doesn't, well it does give a good overview of how to use Skip to Stage logic in 2013 workflows.
Alex Burton
www.epmsource.com |
Twitter
Project Server TechCenter |
Project Developer Center |
Project Server Help | Project Product Page

Similar Messages

  • Diffrences Between SAP HR workflow and SAP Logistics workflow

    Hello All,
                     Do we need to do any specific configuration settings to be done in the system to work on SAP HR workflow in ECC 6.0?
    I am using SWU3 for automatic workflow customizing?  But I am getting error indicator for u201CCheck Entries from HR Control Tablesu201D in the Maintain Definition Environment Node. 
    Are there any major differences between SAP HR workflow and SAP Logistics Workflow?
    Regards
    Venkat

    Hi Mike,
          what can be the impact if Check Entries from HR Control Tables setting are not maintain in the System. caz my workflow is going in waiting status and when i have chacked the container for that element then there in _Workitem.ExecuteByUser-ID is coming as <NOT SET>.
    So can you please put some light on this.. that what can be the resion behind this ...?
    Is this a Check Entries from HR Control Tables Problem or any other reason..
    Thanks & regards
    Dev

  • How to debug Sequential workflow and state machine workflow?

    Hi All,
    How to debug Sequential workflow and state machine workflow?
    Thanks in Advance!

    check this
    http://msdn.microsoft.com/en-IN/library/bb386166(v=vs.90).aspx
    http://msdn.microsoft.com/en-us/library/vstudio/ee231573(v=vs.100).aspx

  • Difference between HR workflows and other module workflows

    Hi,
    I would like to know the major differences between HR related WF and that of other modules.
    Please lemme know.
    himanshu.

    Hi,
    There is not really any difference. Both use the same Business Workflow engine/framework. The actual difference comes from the business content itself. For example in HR you need to be familiar with the infotypes & org. structure etc., and if you know them and you know WF development in general, you should not have too much difficulties developing HR workflows.
    Your question is a bit like what is the difference between ABAP and HR ABAP. Well, they are not different, BUT there are some tricks, techniques and knowledge that you should have if you want to be a good HR ABAP developer.
    Regards,
    Karri

  • Difference between SAP Business Workflow and CRM Workflow

    Hello guys,
    Is there any difference between SAP Business Workflow and CRM Workflow?
    Are there others workflows types in SAP?
    In all SAP Workflow Courses (BIT600, BIT601, BIT603, BIT610) only was talked about SAP Business Workflow, and nothing about CRM Workflow.
    Thanks a lot!
    Kleber

    Hello Kleber,
    There is not much of the differance between CRM workflows and SAP Business  workflows..
    Workflows are esentially part of Basis (BC) components and hence its the same across all SAP products as all these products have components of Basis(BC) in them...
    To Conclude, SAP Busines workflows and CRM workflows are the same things... However when you work on CRM, the BOR objects would be belonging to CRM and not to ECC... However conceptwise , there in no change at all.. If you learn BIT100......, you can also work on CRM workflows..
    Regards,
    Anand

  • How to view and restore sharepoint 2013 designer workflows and how to redeploy with newer version to environments

    how to view and restore sharepoint 2013 designer workflows and how to redeploy with newer version to environments
    MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint Lead

    Hi,
    In SharePoint Designer 2010, we could not save the workflow as a template directly except the reusable workflow.
    However, in SharePoint Designer 2013, we can just save all the types workflow as a template, then you can import the workflow into the new environment.
    http://blogs.msdn.com/b/workflows_for_product_catalogs/archive/2012/11/02/deploying-a-workflow-on-a-different-server.aspx
    In SharePoint Designer 2013, every time we publish the workflow, we would get a newer version workflow, and the old workflow version would be overwritten.
    So, when you deploy the workflow in the environment, the workflow would the newer version.
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • Call Transaction and skip first screen on workflow task

    Hello, I'm developing  a workflow with a user decison step, where the user should fill some data in transaction FD02.
    When the user presses the button in the workitem, the wf goes to a step where i should call transaction FD02.
    I'm using SET PARAMETER ID: 'KUN' FIELD customer.  to fill the customer field and CALL TRANSACTION 'FD02' AND SKIP FIRST SCREEN.
    But when I press the button in the workitem nothing happens. I tested the same in a report and it works. Can anybody help me?
    Thanks a lot.

    Hi,
    try below code
    data: fcode type FCODE value 'ANTRAGAEN',
           customer type kunner,
           bukrs type bukrs.
    SET PARAMETER ID  'KUN' FIELD customer. "  to fill the customer field
    SET PARAMETER ID  'BUK' FIELD companycoder. " to fill the company code
    SET PARAMETER ID  'TTC' FIELD fcoder.       " to fill Function code for enter " it may be other than TTC please check.
    CALL TRANSACTION 'FD02' AND SKIP FIRST SCREEN.

  • Workflow and Bo for create\change GL master .

    Hi All ,
    Is there a standard workflow and BO for creating and changing the GL Master .
    Thanks ,
    Naval Bhatt

    Check BUS3006

  • HT201394 I updated and restarted my iphone 5 now i cant get passed the startup? I have changed password many times and i have tried to skip it but it shuts off?

    I updated and restarted my iphone 5 now i cant get passed the start up? I have changed password many times and i have tried to skip it but it shuts off?

    I have same issue

  • Workflow step skipped while execution

    Hello Friends,
    I have an issue with a custom workflow. it has 2 levels of approval , the first level has executed successfully and the second level of approval ( which is a sub workflow ) has been just skipped.
    i see that the graphical workflow just skipped the step and proceeded with the subsequent steps.
    the issue is with the document alone and am not able to replicate the same error.
    both the workflow templates havent been changes lately.
    any clues why this happens ?
    thanks,
    Raghu V

    hello Friends,
    thanks for the inputs ,  i thought i could ignore this issue , but unable to do as we have fresh cases.
    this is a custom workflow which has 2 sub workflows ( 1 for level 1 approval and another for level 2 approval  ) .
    I see that level approval sub workflow has executed fine , but the level 2 sub workflow has just been skipped .
    i can see the skip in the graphic log and also in the technical log  - I see that the step/nodes corresponding to the 2nd subworkflow is not present at all  .
    I also verified the none of these workflow are modified recently ,
    Any clues, Do help me.
    thanks.
    Raghu V

  • SCSM 2012 R2 workflows and connectors are not triggered

    Hi All,
    Suddenly in my SCSM 2012 R2 Production environment , the connectors stopped synchronising at the schedule time and the Service request was in New state for very long time (stuck in New state).
    When I started troubleshooting , I saw the workflow status in SCSM console , oops!! no entries
    In operations manager event log , no logs generated regarding the connector issue or the SR workflow issue .
    Then I tried starting the AD connector manually , two event logs (information-LFX service) generated
    SyncBegin:Connector Id
    SyncEnd:Connector Id
    Then I stopped the services
    Microsoft Monitoring Agent
    System Center Data Access Service
    System Center Management Configuration
    deleted the health service state folder content and restarted the services
    Then issue is solved , the connector started syncg and the service request state changed from New to In progress and all the workflows were triggered.
    Since there is no events logged for this issue , this gonna make a huge impact in SCSM environment since workflows are the key feature in SCSM .
    Is this  a known issue in SCSM 2012 R2 and are there is any fix in the update rollups
    Are there is any reason behind why we need to flush the SCSM health service state and how this affect the functioning of SCSM?
    since we have the SCOM agent installed as part of SCSM installation and scom uses the same Health service state folder to monitor the SCSM server ??
    sorry for too many questions , just to clarify my all doubts
    Is there any permanent solution ?
    Thanks,
    Kalai

    Hi,
    This issue seems like a performance issue. It is recommended that you schedule the AD/SCCM connectors to run when console/system usage is low since it can have an impact on performance.  You can use the following instructions to reschedule the AD connectors.
    http://blog.scsmsolutions.com/2012/03/update-ad-and-sccm-connector-scheduler-with-powershell/
    And here is a similar thread for you referenc, please go through it for more details:
    Connectors are not Syncing in Service manager 2012 Sp1 RTM
    https://social.technet.microsoft.com/Forums/systemcenter/en-US/2824c769-99ea-4ec6-ab7b-1007efdcb339/connectors-are-not-syncing-in-service-manager-2012-sp1-rtm?forum=connectors
    Here is a link about Description of Update Rollup 2 for System Center 2012 R2 Service Manager:
    https://support.microsoft.com/kb/2904710?wa=wsignin1.0
    It seems that it does not have fix for this.
    In addition, the newest one is Update Rollup 4 for System Center 2012 R2 Service Manager:
    http://support.microsoft.com/kb/2989601
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Oracle ATS Workflow and Validation process.

    Hi,
    Can any one know how Oracle ATS supports Workflow and Validation functionalities, or is there any plug-in's available to handle this feature.
    Please post your valuable suggestions,
    Thanks in Advance,
    Ramesh.

    Hi Rick/Rob,
    Thank you for your Suggestions/advice,I will try inheriting it in my future developments.
    I have iterated the complete requirement and reasons for why the Workflow is put into an error state.
    In most of the scenarios (in my project) the users/agents are allowed to restart the workflows.This is already in place and have been followed hence would try to simulate Rob's suggestions and would keep you posted on it.
    But w.r.t current issue it seems to be still pending.
    While creating an Service entry sheet for cost objects at the validation stage the SES would be waiting for confirmation for its approval from its valid approvers if they do not find the approvers the workflow is passed to an error state , post validation the user id provided with a link where he could restart the workflow(this is already been followed and has been working well ad people are used with this process)
    SES approver determination sequence:
    firstly the program will check partner function users Z1 or Z2 in PO, then if it has error it checks requisitioner of PO. In requisitioner check additional check we applied for validating PO creator is from Batch Id, if yes then email is triggered at functional mailbox with the link.
    Screenshots:
    So till here its been a legacy process what is been followed. But now my actual issue was how to access SWPR from web or from an hyperlink.
    I am able to access SWNWIEX transaction but not SWPR.
    So if you have come across or have worked any such scenarios kindly let me know so that I can implement this in my workflow.
    Apologies for not following the right process ,as I said earlier I ll try simulating the same workflow as per your advice and present it before the counterpart and try bringing a change in the existing process.
    Thank you.
    Regards,
    Vivek

  • When building a vacation leave holiday system using SharePoint Foundation 2010 and SharePoint Designer workflows how can I add half day functionality?

    Hi,
    I have built a vacation leave holiday system for SharePoint Foundation 2010 using SharePoint Designer workflows and Javascript. Everything works perfectly but I'm struggling to design a solution for users to specify half day requests that span over dates
    greater than 1 day, i.e. my half day solution works but only when the start and end date are the same. How would I change the user interface to allow users to choose which day they want the half day to be requested when the vacation leave holiday request is
    from, say,  6th - 10th Jan 2014?
    Thanks.

    Hi ,
    I have a test on my machine with a custom approval workflow and it can work normally .Here are the detailed steps :
    1.      
    Open the site in SharePoint Designer .Create a workflow to associate with the document library .Set the workflow to start when an item is created and when an item is changed
    .Also allow the workflow to start manually .
    2.      
    Choose ‘Collect Data from a user’ .
    3.      
    Click on the data and give a name to the Task created .
    4.      
    Define the custom form field name as ‘Approve ?’ .Set the information type as Choice .
    5.      
    Set the choices as ‘Approve’ and ’Reject’ .Display as Checkboxes .Uncheck the ‘Allow fill-in values’ and ‘Allow blank values’
    .Click finish to save .
    6.      
    Click on users and add the users who will approve the documents .
    7.      
    Keep the output to variable as collect .
    8.      
    Add a new step .Choose ‘If any value equals value ’ .Set the any value ‘Data source’ as  workflow variables and parameters .Set the ‘Field
    from source’ as Variable: collect .
    9.      
    Set the value behind ‘equals ’ as ‘Approve’ .
    10.  
    Add a new action ‘Update list item ’ .Set the item as current item .Add the field Approval status as Approved .
    11.  
    Add an Else-if branch to update the Approval status as Rejected .
    12.  
    Publish the workflow and test in your site .
    Thanks,
    Entan Ming

  • Building a PC for faster rendering and real time workflow

    Hi guys - need help if possible since I'm not into hardware all that much...
    I have a few problems when using Premiere Pro CS6 which resulted in thinking of buying a new computer:
    1) Exporting a one hour full HD video takes about 23 hours (no effects except color correction)
    2) When making a color correction it is impossible to preview it on timeline even in 1/4 resolution - video starts to jitter so I have to export it to realize that some scenes are too dark, too light, too something, etc. And, as said, it takes around 23 hours... So this makes it 46 hours...
    3) Using a multicam view is extremely jerky and so - pretty useless
    All in all - I need a computer with a lot more muscle. So, I went through many forum discussions, read on the Internet, blah, blah.. and decided to build a PC rather than MAC since I get more "bang for the buck" when considering the same budget (around 3000$). Speaking of this, please consider that I live in Croatia and 3K$ here are not the same as in USA or many parts of Europe - it's a little more pricey here...
    So, here's the setup so review it if you're into hardware and CS6 compatibility/optimization and please comment/advise, having in mind the problems I have previously stated out.
    Just one thing - please, please, please don't get too complicated because I really don't know that much about hardwareing and I'm pretty fed up with exploring hundreds and hundreds of posts, opinions, forums, etc....
    Make it simple - is it a good choice or not for CS6 workflow and which component should I potentially change for a better one (but staying in budget).
    I use Premiere for editing full HD videos (sometimes I get nearly 500GB of raw material) and I frequently use After Effects for various animations.
    Thanks a lot!
    Intel core i7 3930K (3.2 GHz, hex, 1.5 MB, 12 MB, Socket 2011, box)
    MSI x79-GD65-8D
    Asus GTX 690 - 4GB
    Kingmax SSD 60BG (for windows and cs6)
    Seagate HDD Desktop Barracuda 7200 (3TB, 64MB, Sata III-600)
    Corsair 32GB, DDR3, 1600 MHz
    Spire 750W Black Eagle

    Intel core i7 3930K (3.2 GHz, hex, 1.5 MB, 12 MB, Socket 2011, box),  good choice
    MSI x79-GD65-8D, consider Asus
    Asus GTX 690 - 4GB, wrong choice. a 670 is more than enough
    Kingmax SSD 60BG (for windows and cs6), consider a Corsair PP 128 GB
    Seagate HDD Desktop Barracuda 7200 (3TB, 64MB, Sata III-600), make that 3 or 4 disks
    Corsair 32GB, DDR3, 1600 MHz, as long as they are max 1.5V and 8 GB sticks
    Spire 750W Black Eagle, better look at Seasonic or Corsair Gold+ rated PSU's and maybe increase W to 850.
    Look here for other approaches: http://ppbm7.com/index.php/intro-part-1

  • Workflow and ABAP OO

    Hi,
    I have read the excellent blogs on Workflow and ABAP OO by Joycelyn Dart (/people/jocelyn.dart/blog/2007/07/16/referencing-bor-objects-in-abap-oo-classes). I have sucessfully created a  BO (of type SIBFLPORB) in my class. However, I cannot figure out how to retrieve the workitem container that holds the BO. I have used macros before in workflow programming exists, but there I get the container from a workitem context. I can't find the workitem context in my class. Please provide me with some code samples of how I can retrieve the workitem container that holds the BO.
    I am considering passing the workitem id to the method and reading the container via SAP_WAPI_READ_CONTAINER. If this is a good solution, then I see no point in having the BO as an attribute of the classe. Is it a good solution?
    Thanks!
    Elvez

    I am probably missing something obvious here (or we are not even speaking about a same thing), but I still try to clarify my point.
    >I could of course just pass the necessary data as parameters to the class
    This is the part that I don't really understand. If you already have an instance of a class existing (=there is an object instantiated), which has the BO as an attribute, there shouldn't be any need to change a signature of any method(?). The only thing you need to enhance is the constructor of your class.
    Currently you create the BO instance as an attribute in your constructor method (isn't this correct?). Just create the attributes you need from the BO into your class, and "populate" them in your constructor. Or if it is an method that you need, just create a similar method (=you can copy the code) into your class.
    This all might be much easier than using the WF macros, which shouldn't be that difficult either - as Jocelyn says:
    "You will still need to use BOR macros in your ABAP OO classes if and only if you want to call BOR attributes and methods in your ABAP OO methods.
    If you need to do this then make sure you include the BOR macro definitions in your class by putting the special include program <cntn02> in the "Macros" section of your ABAP OO class."
    Regards,
    Karri

Maybe you are looking for

  • DVD Drive won't recognize previously burned CD-RWs

    When sending files to our printer, I burn them to a CD-RW. When the discs come back and I insert them to erase and put my next job on, the computer will not recognize the CD. Does anyone know what happens to the disc once it leaves my office and what

  • How post a .gif (or is this a slide show?) with iWeb?

    I'm trying to have a "before and after" .gif (at least is seems like what others call a .gif) on my site. (It's a simple graphic made with AppleWorks Draw, showing the mess before using our service ... and then the solution afterwards.) I want visito

  • HEEEELLLLP PLEASE !!

    so ive got my mums boyfriends ipod. and ive put my music on it. but all of his music is gone. HOW DO I GET IT BACK. please hellp.

  • Webi Reports

    one.jsp <html>    <body>           <!--           change the localhost and application directory as per your use           as per your use  method=post or method=get            -->            <form name=form1 action="http://localhost:8080/testingappl

  • Keep Drop Wireless Connection?

    I just bought a new Time Capsule. And I have used it as a router. It connects to cable modem. And I have a SONY laptop which uses 801.11g. If I uses wireless to connect to Time, the connection drops every couple mins. But if I use wire to connect to