BPM, Workflow, and Case

BPM, Workflow, and Case

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
  • 1.  Launch discretionary Task using CreateQuickTaskIncurrentCaseWithParticipants operation

    Posted 3 days ago

    I want to launch a discretionary task in each personal basket of each specific user after validation of a first task (see Task1 screenshot) using  operation like  CreateQuickTaskIncurrentCaseWithParticipants (see screenshots).
    meanwhile, I can't launch the task discretionary.

    I need your support



    ------------------------------
    Mansour SOW
    BPM Technical Lead
    ------------------------------


  • 2.  RE: Launch discretionary Task using CreateQuickTaskIncurrentCaseWithParticipants operation

    Posted 2 days ago

    Hello!

    A case Quicktask is not the same as a case discretionary activity.

    A discretionary activity is one option for how a case activity that is the parent for an underlying process flow, is started. Automatic starts right away without user intervention. Manual creates the activity and adds it to the case but requires that a case worker either start or disable explicitly. Discretionary activities are not created and added to the case at all until an end user (or API call) creates it and adds it.

    A quicktask is a subclass of case activity but does not have a process under it. It allows, as the name implies, simple "to dos" to be added to a case on the fly. They are displayed in the case task view (in the new CSHS pages) or in the Tasks widget on the classic pages. Although they can be assigned to users, they do not generate actual process tasks and do not show up in the main process task lists with the other "real" process tasks.

    There should be a different operation to add and start a discretionary task if you want to do that programmatically.

    In BAW processes and CSHS you can use some the calls talked about here 

    Here is a blog about how to use discretionary activities in a custom CSHS page  



    ------------------------------
    DAVE PERMAN
    ------------------------------



  • 3.  RE: Launch discretionary Task using CreateQuickTaskIncurrentCaseWithParticipants operation

    Posted 2 days ago
    Hello Dave,
     
    Thank you for you interesting response.
     
    It use IBM case manager not BAW environment.
     
    Finally,I want to use  workflowParameterValues operation to send my discretionary activity to specifics users. But let me know how to pass the participants in this parameter.
     
    If I understand the logic, it is the participants who should receive the task and i pass it like  {"sessionUser1","sessionUser2"} in workflowParameterValues parameter. I have let others parameters to null
     
    But when  lauch the process,i have error like "The number of workflow parameter names does not matchesthe number of values"


    ------------------------------
    Mansour SOW
    BPM Technical Lead
    ------------------------------