1) Once I’ve bookmarked a particular point in a work flow is there a way for a client to ask the work flow where it is at and retrieve its viable options? So like lets say I have 5 buttons labeled 1 through 5… If I I’m in step 3 I have the option of going to step 4 or step 5… I want the ability for the client to ask the work flow where I’m allowed to go next… The work flow would say these are your options and based on that the client would show buttons 4 and 5 and everything else would be greyed out… I guess in work flow terminology if the work flow is say at a pick waiting for a trigger is there some way the client can be informed of the available pick options….
2) is there any native support for roles that I could also integrate with this? So user account manager can click 4 or 5 but call center can only click 5.
Basically I have a work flow that needs to model a process (obviously) and this process is managed at each stage by different departments in the company. But at certain points in the work flow an account manager could be allowed to transition the work flow in 2 or 3 directions where as a call center rep is only allowed to transition it in one direction…. But I need a way for our call center client to ask the work flow what stage something is in and what the user logged in is allowed to do and then based on that the client software will present them with what options they have….
If you are using workflow persistence there is a column that contains the current named bookmarks the workflow can have resumed. I have used this in applications to drive the UI. It you are using workflow services and the Receive activity you will find the SOAP action as the bookmark name.