User task outcomes

I'm trying to design a workflow with the following scenario:
A task is defined with say, three outcomes(conclusions) A, B, C. So when the task is initially assigned to an individual, they have the option to choose one of the three. If they were to choose A, I want to reassign the task to another individual and present them with a new set of outcomes say, D, E, F.
I can't see how I can do this. I was thinking of defining the task with all outcomes A-F, however, how would I filter the outcomes to display only the relevant ones? I haven't seen any examples that do something similar.
Any suggestions?

bcaldwell,
Above 2 options are the suitable approach.
Option of using separate human task process with different set of outcomes looks easier and won't involve any code change, but might be a bit low on the performance side in terms of use of extra human tasks processes.
On the other hand, using the API to code the same based on runtime selection will involve the coding but it will be a performant approach and a better one audit wise too.
--Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Multiple User Task Process in SharePoint Designer

    HI ,
    I have 2 Users in Approval Level , and i have created Task process for Both Users using SharePoint designer 2013. 
    I have selected Parallel ( All at once) option. Once Task Process created, the !st User Approved & 2nd User Rejected, The OutCome coming as Rejected.
    I need an Outcome as Rejected even any one in Group Rejected the Task Process.
    Please Help me on this.
    Sugumaran Srinuvasan

    Hi,
    By design in SharePoint, if there is a user reject the task, the task outcome will become to Rejected.
    If you want to end workflow once one user reject the task, you need to change the workflow action as below:
    Then when the first one reject the task, the action will be completed and the task outcome will become to Rejected.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Help:Invoke web service after receiving a user task response

    Hi, All:
    We encountered a problem while developing user task. The detail is as follows:
    We need to invoke a web service after a user task's response, that is to say, the web service needs some data from the response of the user task.
    Take the loan flow tuturial as a example, what we need to do is to invoke a web service after the BPEL process get the start loan APR. the web service needs the APR for its input message. how can I handle this situation?
    Thank you very much for your help!

    Thanks for your immediate response Jan Vervecken.
    I have created the Data Control from web Service proxy and I am able to recieve the output from the web Service.
    But, Currently I am invoking the webservice process method by a command button which populates my SelectOneChoice.
    My requirement is to invoke the web service 'process' method by value change event in the SelectOnechoice control.
    So, Can you pls. let me know how do I bind the web Service method 'process' to value change event of SelectOnechoice control?
    Thanks and Regards,
    Sandeep T

  • OIM Provisioning - Error during OID Create User Task

    Hi,
    I am getting the following error during OIM Provisioning to OID (Create User Task).
    I added few more attributes to the OID_USR form and then to the "OID User" Process Definition.
    Also, I added the Code/Decode Key Values in AttrName.Prov.Map.OID.
    DEBUG,08 Dec 2010 21:19:04,547,[XELLERATE.SERVER],Class/Method: tcDataBase/readPartialStatement entered.
    ERROR,08 Dec 2010 21:19:04,555,[XELLERATE.ADAPTERS],Class/Method: tcAdapterMappingUtility/getRunTimeVariable Mappings encounter some problems: No data available for variable having key = 350
    ERROR,08 Dec 2010 21:19:04,555,[XELLERATE.ADAPTERS],Class/Method: tcAdapterMappingUtility/getRunTimeVariable Mappings encounter some problems: No data available for variable having key = 350
    java.lang.Exception: No data available for variable having key = 350
    Earlier, before adding these attributes, the OID Create User Task was working. So I belive this is from the newly added attributes.
    Questions:
    - How to identity the attribute with this key? It looks like some of the attribute values that it gets during Run Time is not populated correctly. Any suggestions?
    - "key = 350"- Is there a database table that this gets stored? SPD? or anything else?
    Regards
    Vijay Chinnasamy

    @Keviin,
    I added 13 new attributes and corresponding "* Updated" Tasks.
    For all these, ProcessInstanceKey is mapped to Process Data -> Process Instance.
    I am going to validate the mappings again. Also, I noticed, some of the fields that I am prepopulating is not populated.
    Regards
    Vijay Chinnasamy

  • How to set dynamic expiration date in User Task

    Hi
    I need to set the expiration date of a User Task to a specific date, not a duration. Is it possible to do this?

    I have also got a smiliar problem. Does anyone have any further information to how this can be achieved?
    I have been able to use the Human Task Wizard screen (<usertask>.task) to hard code the expiration time. Using the Fixed Duration option of days, hours or minutes. I have tried to use the 'By Expression' to do this but have been unable to get it to work. I have tried to select the /task:task/task:systemAttributes/task:expirationDuration or the /task:task/task:systemAttributes/task:expirationDate element within the task workflow xsd but are unsure how to get it to read the date. I have tried to assign a time component to expirationDate and a time period P0DT0H20M to the expirationDuration element.

  • User Task: Missing elements from payload

    I have created a user task that sends an array of 'people'. The user can select the people they want and reject the rest by removing / setting blank values.
    I have checked that the payload is being set as an array, but the JSP screen for the task only displays a single element for that array.
    When the user completes the task, the entire array is sent back, so I am guessing that this is a problem with the JSP knowing there is more than one element.
    Is there a way I can add the JSP code to access further elements?
    The payload type is defined in my process .wsdl file.
    Thanks,
    Dan

    You can edit the generated JSP to make it do whatever you like. We did this to handle arrays as well, but it proved to be pretty painful.

  • Enable User task is not getting triggered

    Hi All
    We have a provisioning workflow configured. "Enable User" task is not getting triggered while the user is enabled in OIM. Can anyone give a clue as to how to get it triggerd? Rest all the tasks are fine (Create, Disable, Delete, and other custom tasks)
    Thanks,
    Vinay

    There is a OOTB scheduled Task "Enable After Start Date". once the user get enabled in OIM user profile. You have to run this task manually to have effect on corresponding RO for enablement. Else it will execute automatically as per scheduled time.
    if the version of OIM is 11.1.1.5. There is an issue. update patch BP02. for same
    --nayan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Task Outcome Field - Crawled Property not created

    Hi,
    SharePoint is not creating crawled property for the OOB Task Outcome
    field... Is this by design or is it possible to include this field in search..
    Regards,
    Muthukumar

    Hi Muthukumar,
    Per my knowledge, there is not an OOB way to create a crawled property for Task Outcome field.
    As a workaround, you can try to create a new column in the tasks list, then create an Event Recevier on the tasks list to handle the item is added or updated. In the Event Recevier, sest the new column to the Task Outcome. After that, do a full crawl to
    find the crawled property for the new column, and use the new column instead of Task Outcome.
    More information about creating Event Recevier, please refer to the link:
    http://onceinawhilescribble.blogspot.com/2013/05/creating-simple-event-receiver-in.html
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Error in user task

    Hello all,
    in a customer project, we have run into an issue while trying to assign a task to an user (synchronized from the customers LDAP).
    The server log file gives the following message:
    A non-retryable Exception has occured: Attribute: out_of_office_user_id on object: workflow_user:[1AF8AB1E-8254-323F-81E4-606D7FF392C1] has not been loaded.
    The "allow out of office designation" options are turned OFF in the user task. Is there anyone who knows what this error REALLY means?
    Thank you very much,
    Steffen.

    Thank you all for your quick responses!
    After playing around for a while, I noticed that the issue really only occurs with one specific user account. When I directly assigned the task to this account everything worked just fine. After that, the xPath option worked as well. It really looks like if something is being synchronized into the LC database when a user account has it's first contact with a workflow. If that step could be completed the issue never occurs again - which sounds pretty much in line with what Yog said.
    The only difference with the "erroneous" user account seems to be that the family name contains a whitespace - I have no idea if this is relevant.
    I'm not able to apply the service pack immediately for some reason, but we'll soon be able to see if that fixes the issue.
    Thanks again,
    S.

  • User Task in a BPEL Process

    I'm making an ASP .NET websites that calls to a BPEL Process. This BPEL Process receives an ID and make three calls to three web services that search this ID in three diferent databases containing data about books. The process selects the cheapest of the books found. Once this is made, I want to make tha process ask the user if he wants to boy the book and the user must to answer yes or no. The process must comunicate with the user by an ASP .NET web page. I suppose I have to use an User Task to make this possible but I don't know how to use user tasks so can anybody help me telling me where can I find a good tutorial that explains to me how to make that?
    Please help!!
    Thank you very much!!

    with 10.1.2.02 this is really hard, becaus eyou need to expose the worklist API through webservices itself (bpel process) - with 10.1.3.1 the whole worklist is WS enabled, so then it should be super straight and easy..
    best clemens

  • Differences between user task Macro 2.0 and user task

    Hi, All:
    There are two different user tasks available in Oracle BPEL process.
    1. user task Macro 2.0 NS:http://services.oracle.com/bpel/task
    2. user task NS:http://xmlns.oracle.com/pcbpel/taskservice/task
    As far as I know, the first user task has less fields than the second one. and the second one obviously has more operation patterns.
    It seems that the user task Macro 2.0 does not need organization model support(JAZN) and the second one must use organization model(JAZN/LDAP).
    Is it possible that the second user task could avoid using the organization model? It seems authentication is always needed before tasks could be retrieved. What is the right secenario for the second user task?
    One more question, the user task Macro 2.0's fields are quite limited, I wonder where I could put my business data. Any sugguestion would be appreciated.

    Hi
    I don't yhink you can bypass the authentication issue. But maybe you can add a dummy / proxy group/user , and assign every tas to that group/user. I don't know your setup or why you would not want some kind of authentication ..
    You could use the worklist API's in your application to acquire the tasks, complete them etc.. Your users would not have to know anything about the underlying proxy user / group.
    HTH

  • Problem with user task

    Hello all,
    we're working with Oracle BPEL Process Manager 10.1.2 (JBoss 3.2.6) on Windows XP (jdk 1.4.2_03).
    I've successfully run many examples provided with this distribution (e.g LoanFlowPlus demo).
    However when we try to build a BPEL process with user tasks defined, we are able to launch task, but when we complete such tasks nothing happens, and onTaskResult method is never called.
    This is the code we use to complete a task (Task are completed from web pages):
    String _taskId = request.getParameter("TaskId");
    IWorklistService worklist = (IWorklistService)          locator.lookupService(IWorklistService.SERVICENAME);
    ITask task = worklist.lookupTask(_taskId);
    // getResponse returns a String
    _task.setConclusion(getResponse());
    // getAttachment returns a XML Document                         
    _task.setAttachment(getAttachment());
    worklist.completeTask(task);
    After these sentences are performed such task is not returned when _worklist.listTasksByAssignee("[email protected]") is performed, but onTaskResult is never called. No error messages are shown.
    Any idea?
    Thanks.
    Javi

    I've found a possible cause for this weird problem.
    It only happens when completeTask is called and somebody has the flow view page on the BPEL Console open.
    If nobody is browsing through the BPELConsole web environment task are completed successfully...
    ¿?

  • WMS - Cycle Counts - are generating with no user task type

    Hi,
    I have configued Cycle counts and it is creating tasks with no user task type.
    That too .. this is happening for some tasks .. others are created correctly.
    As there is no user task type .. It is not getting displayed on Gun.
    Can anyone pls help me .. Thanks in advance.
    Regards,
    Naveen S

    Hi,
    I have configued Cycle counts and it is creating tasks with no user task type.
    That too .. this is happening for some tasks .. others are created correctly.
    As there is no user task type .. It is not getting displayed on Gun.
    Can anyone pls help me .. Thanks in advance.
    Regards,
    Naveen S

  • Setting a dynamic expiration date in User Task in BPEL 10.1.3.1

    I have a user task / human workflow activity within a BPEL 10.1.3.1 project. I need to be able to set the expiration date of the task dynamically that gets assigned within this worklist.
    I have been able to use the Human Task Wizard screen (<usertask>.task) to hard code the expiration time. Using the Fixed Duration option of days, hours or minutes. I have tried to use the 'By Expression' to do this but have been unable to get it to work. I have tried to select the /task:task/task:systemAttributes/task:expirationDuration or the /task:task/task:systemAttributes/task:expirationDate element within the task workflow xsd but are unsure how to get it to read the date. I have tried to assign a time component to expirationDate and a time period P0DT0H20M to the expirationDuration element.
    Has anyone had experience of this or know whether it can be done? Any help would be appreciated
    Thanks

    I agree with David.
    The lexical representation for duration is the ISO 8601extended format PnYn MnDTnH nMnS, where nY represents the number of years, nM the number of months, nD the number of days, 'T' is the date/time separator, nH the number of hours, nM the number of minutes and nS the number of seconds. The number of seconds can include decimal digits to arbitrary precision.
    The values of the Year, Month, Day, Hour and Minutes components are not restricted but allow an arbitrary unsigned integer, i.e., an integer that conforms to the pattern [0-9]+.. Similarly, the value of the Seconds component allows an arbitrary unsigned decimal. Following ISO 8601, at least one digit must follow the decimal point if it appears. That is, the value of the Seconds component must conform to the pattern [0-9]+(\.[0-9]+)?.
    An optional preceding minus sign ('-') is allowed, to indicate a negative duration. If the sign is omitted a positive duration is indicated.
    For example, to indicate a duration of 1 year, 2 months, 3 days, 10 hours, and 30 minutes, one would write: P1Y2M3DT10H30M. One could also indicate a duration of minus 120 days as: -P120D.
    Reduced precision and truncated representations of this format are allowed provided they conform to the following:
    * If the number of years, months, days, hours, minutes, or seconds in any expression equals zero, the number and its corresponding designator may be omitted. However, at least one number and its designator must be present.
    * The seconds part may have a decimal fraction.
    * The designator 'T' must be absent if and only if all of the time items are absent. The designator 'P' must always be present.
    For example, P1347Y, P1347M and P1Y2MT2H are all allowed; P0Y1347M and P0Y1347M0D are allowed. P-1347M is not allowed although -P1347M is allowed. P1Y2MT is not allowed.
    HTH,
    Bas

  • Restrictions on using multiple user tasks in parallel ?

    Hi there,
    are there any restrictions on creating / managing multiple user tasks sequentially or in parallel in a BPEL process ?
    Sometimes my BPEL engine (OC4J/2.0.11) generates an error about "unregistered object ..." and the BPEL process failes.
    The BPELConsole then is not able to display the process state anymore.
    Thanks,
    Wolfgang

    There should be no restriction on how many task you can run in parallel. The only requirement is to use distinct partnerLinks (the partnerLink is statefull and embedded the correlation information).
    If you are combining flowN and tasks, you can achieve this by using local partnerlink (not supported by the designer but supported by the engine so a local partnerlink can be added to the process using the XML source representation of the BPEL).
    -Edwin

Maybe you are looking for

  • Getting a form item to load first in target page

    according to ben forta who i met many years ago, cf loads the complete page and then does functions in a particular order. i.e. includes, queries, etc. my problem is that i am sending over a unique identifer in the formset that is needed in an includ

  • Is a free trial of CS6 available?

    Is a free trial of CS6 available?  I am trying to find a way of converting some old Pagemaker 6.5 files to PDF without messing up the images etc.  Thought CS6 might work. Thanks for any info.

  • Region wise sales report

    Hi, Please give me the input whether there is any report to find the region wise Sales Regards Kiran

  • Port Forwarding Twice?

    (Also posted in Airport discussions) I have previously used port forwarding via an AEn to access my Mac Pro while away. I have now installed a Mac mini Server and continue to use the Mac Pro as a client. Port forwarding now directs all incoming reque

  • Stop Command+F from bogarting my current window

    Hi, all - Is there any known way to tell Finder that when I initiate a new search (Command+F) it should search in a new window, rather than commandeering the current front-most Finder window? In the first iteration of Command+F (or back when it autom