...
web/json/workflow/assignment/withdraw/(*:activityId)
Description
Retrieve first process with details of every packages
Description
Withdraws an accepted assignment
| Note |
|---|
Deprecated Since v3, the concept of accept & withdraw assignment is removed |
User Role
Admin
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
...
- activityId - activity instance id
Sample URL
http://localhost:8080/jw/web/json/workflow/processassignment/list/package
...
withdraw/879_223_crm_process1_approve_proposal
Sample Result
| Code Block | ||
|---|---|---|
| ||
{
"activityId": "879_223_crm_process1_approve_proposal",
"status": "withdrawn"
} |
web/json/workflow/assignment/variable/(*:activityId)/(*:variable)
Description
Retrieve first process with details of every packages
Sets value of workflow variable of an assignment
User Role
Anyone (Including anonymous)
Admin
Method
...
HTTP GET/ POST
Parameters
- callback
- 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
...
- activityId - activity instance id
- variable - workflow variable to set value
- value - value of workflow variable
Sample URL
http://localhost:8080/jw/web/json/workflow/process/list/package
...
assignment/variable/843_208_crm_process1_send_proposal/status?value=test
Sample Result
| Code Block | ||
|---|---|---|
| ||
{"status":"variableSet"} |
web/json/workflow/assignment/view/(*:activityId)
Description
Retrieve first process with details of every packages
Retrieves information of an assignment
User Role
Admin
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
...
- activityId - activity instance id
Sample URL
...
http://localhost:8080/jw/web/json/workflow/processassignment/list/package
...
view/843_208_crm_process1_send_proposal
Sample Result
| Code Block | ||
|---|---|---|
| ||
{
"activityId": "843_208_crm_process1_send_proposal",
"processVersion": "3",
"activityDefId": "send_proposal",
"processId": "208_crm_process1",
"assigneeId": "admin",
"description": "",
"processName": "Proposal Approval Process",
"dateCreated": "04-09-2015 03:05 AM",
"participant": "Requester",
"processDefId": "crm#3#process1",
"variable": {
"status": "approved"
},
"activityName": "Send Proposal"
} |
Processes
web/json/workflow/process/abort/(*:processId)
...