Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

web/json/workflow/assignment/accept/(*:activityId)

Description
Retrieve first process with details of every packagesAccept an assigned assignment

Note

Deprecated Since v3, the concept of accept & withdraw assignment is removed  

User RoleAdmin

Anyone (Including anonymous)

Method

HTTP GET/ POST

Parameters

    • callback - (Optional) a function (in JavaScript) to call back after invoking this methodcheckWhiteList - (Optional) Boolean value to return the list based on process white list
    • activityId - Activity instance id 

Sample URL

http://localhost:8080/jw/web/json/workflow/processassignment/list/packageaccept/879_223_crm_process1_approve_proposal

Sample Result

Code Block
languagejs
{
    "assignment" : "879_223_crm_process1_approve_proposal"
    "status" : "accepted"
}

web/json/workflow/assignment/complete/(*:activityId)

Description
Retrieve first process with details of every packagesCompletes an assigned assignment

User RoleAdmin

Anyone (Including anonymous)

Method

HTTP GET/ POST

Parameters

    • callback - (Optional) a function (in JavaScript) to call back after invoking this method
    • checkWhiteList - (Optional) Boolean value to return the list based on process white list

Sample URL

    • activityId - activity instance id

Sample URL

http://localhost:8080http:/localhost/jw/web/json/workflow/processassignment/list/packageSample Resultcomplete/879_223_crm_process1_approve_proposal

Sample Result

Code Block
languagejs
{
    "activityId": "879_223_crm_process1_approve_proposal",
    "nextActivityId": "882_223_crm_process1_send_proposal",
    "processId": "223_crm_process1",
    "status": "completed"
}

web/json/workflow/assignment/completeWithVariable/(*:activityId)

Description
Retrieve first process with details of every packagesCompletes an assigned assignment with option to set workflow variables.

User RoleAdmin

Anyone (Including anonymous)

Method

HTTP GET/ POST

Parameters

    • callback - (Optional) a function (in JavaScript) to call back after invoking this method
    • activityId - activity instance id
    • var_* checkWhiteList - (Optional) Boolean value to return the list based on process white listparameters prefixed with "var_" used to set workflow variable

Sample URL

http://localhost:8080/jw/web/json/workflow/processassignment/list/packageSample Resultcomplete/879_223_crm_process1_approve_proposal?var_status=Sent

Sample Result

Code Block
languagejs
{
    "activityId": "879_223_crm_process1_approve_proposal",
    "nextActivityId": "882_223_crm_process1_send_proposal",
    "processId": "223_crm_process1",
    "status": "completed"
}

web/json/workflow/assignment/list

...