Versions Compared

Key

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

...


NameDescription
1

Anchor
Complete assignment by username
Complete assignment by username
Complete assignment by username

Panel
borderColorblack
bgColor#fbfff5
borderStylesolid

Complete an assignment via a username, to continue the flow of a process instance.

Name

Description
URL/assignment/completeByUser/{username}/{activityId}
HTTP MethodPOST
Path Parameters
ParameterDescription
usernameUsername of a Joget user.
activityIdActivity instance ID that is assigned to the specified user.
Query String Parameters
ParameterDescription
variables

Workflow variable value(s) to set.

Can be multiple query parameters for many workflow variables.

Sample Response
Code Block
languagejs
{
  "activityId": "381_150_expenseclaim_process1_new_claim",
  "processId": "150_expenseclaim_process1",
  "nextActivityId": "..."
}
2

Anchor
Complete assignment of current user
Complete assignment of current user
Complete assignment of current user

Panel
borderColorblack
bgColor#fbfff5
borderStylesolid

Complete an assignment of the currently logged in user, to continue the flow of a process instance.

Name

Description
URL/assignment/complete/{activityId}
HTTP MethodPOST
Path Parameters
ParameterDescription
activityIdActivity instance ID that is assigned to the
specified
current user.
Query String Parameters
ParameterDescription
variables

Workflow variable value(s) to set.

Can be multiple query parameters for many workflow variables.

Sample Response
Code Block
languagejs
{
  "activityId": "381_150_expenseclaim_process1_new_claim",
  "processId": "150_expenseclaim_process1",
  "nextActivityId": "..."
}
3

Anchor
Count assignments by username
Count assignments by username
Count assignments by username

Panel
borderColorblack
bgColor#fbfff5
borderStylesolid

Count all assignments of a user via username.

Name

Description
URL/assignment/countByUser/{username}
HTTP MethodGET
Path Parameters
ParameterDescription
usernameUsername of a Joget user.
Query String Parameters
ParameterDescription
appId

Filter assignments by App via App ID.

processDefIdFilter assignments by belonging process via process definition ID.
processInstanceIdFilter assignments by process instance via process instance ID.
activityDefIdFilter assignments by belonging activity via activity definition ID.
Sample Response
Code Block
languagejs
{
  "size": 4
}
4

Anchor
Count assignments of current user
Count assignments of current user
Count assignments of current user

Panel
borderColorblack
bgColor#fbfff5
borderStylesolid

Count all assignments of the currently logged in user.

Name

Description
URL/assignment/count
HTTP Method
POST
GET
Path
Query String Parameters
ParameterDescription
variables

Workflow variable value(s) to set.

Can be multiple query parameters for many workflow variables.

Query String Parameters
ParameterDescription
usernameUsername of a Joget user.activityIdActivity instance ID that is assigned to the specified user.
appId

Filter assignments by App via App ID.

processDefIdFilter assignments by belonging process via process definition ID.
processInstanceIdFilter assignments by process instance via process instance ID.
activityDefIdFilter assignments by belonging activity via activity definition ID.
Sample Response
Code Block
languagejs
{
  "
activityId
size": 
"381_150_expenseclaim_process1_new_claim", "processId": "150_expenseclaim_process1", "nextActivityId": "..."
3
}
5

Anchor
Get assignment detail
Get assignment detail
Get assignment detail

Panel
borderColorblack
bgColor#fbfff5
borderStylesolid

Get details of an assignment that is assigned to the currently logged in user, via activity instance ID.

Name

Description
URL/assignment/
completeByUser
detail/{
username}/{
activityId}
HTTP Method
POST
GET
Path Parameters
ParameterDescription
username
Username of a Joget user.
activityIdActivity instance ID
that is assigned to the specified user
.
Query String Parameters
ParameterDescription
variables

Workflow variable value(s) to set.

Can be multiple query parameters for many workflow variables.

Sample Response
Code Block
languagejs
{ "activityId": "381_150_expenseclaim_process1_new_claim", "processId": "150_expenseclaim_process1", "nextActivityId": "..." }
6

Anchor
Get assignment detail by username
Get assignment detail by username
Get assignment detail by username

Panel
borderColorblack
bgColor#fbfff5
borderStylesolid

Get details of an assignment via a username and activity instance ID.

Name

Description
URL
/assignment/completeByUser/{username}/{activityId}

HTTP Method
POST

Path Parameters
ParameterDescription
usernameUsername of a Joget user.
activityIdActivity instance ID that is assigned to the specified user.
Query String Parameters
ParameterDescription
variables

Workflow variable value(s) to set.

Can be multiple query parameters for many workflow variables.

Sample Response
Code Block
languagejs
{ "activityId": "381_150_expenseclaim_process1_new_claim", "processId": "150_expenseclaim_process1", "nextActivityId": "..." }
7

Anchor
List assignments by username
List assignments by username
List assignments by username

Panel
borderColorblack
bgColor#fbfff5
borderStylesolid

List all assignments of a user via username.

Name

Description
URL/assignment/completeByUser/{username}/{activityId}
HTTP MethodPOST
Path Parameters
ParameterDescription
usernameUsername of a Joget user.
activityIdActivity instance ID that is assigned to the specified user.
Query String Parameters
ParameterDescription
variables

Workflow variable value(s) to set.

Can be multiple query parameters for many workflow variables.

Sample Response
Code Block
languagejs
{
  "activityId": "381_150_expenseclaim_process1_new_claim",
  "processId": "150_expenseclaim_process1",
  "nextActivityId": "..."
}
8

Anchor
List assignments of current user
List assignments of current user
List assignments of current user

Panel
borderColorblack
bgColor#fbfff5
borderStylesolid

List all assignments of the currently logged in user.

Name

Description
URL/assignment/completeByUser/{username}/{activityId}
HTTP MethodPOST
Path Parameters
ParameterDescription
usernameUsername of a Joget user.
activityIdActivity instance ID that is assigned to the specified user.
Query String Parameters
ParameterDescription
variables

Workflow variable value(s) to set.

Can be multiple query parameters for many workflow variables.

Sample Response
Code Block
languagejs
{
  "activityId": "381_150_expenseclaim_process1_new_claim",
  "processId": "150_expenseclaim_process1",
  "nextActivityId": "..."
}
9

Anchor
Reevaluate assignments by username
Reevaluate assignments by username
Reevaluate assignments by username

Panel
borderColorblack
bgColor#fbfff5
borderStylesolid

Reevaluate all assignments of a user via username.

Name

Description
URL/assignment/completeByUser/{username}/{activityId}
HTTP MethodPOST
Path Parameters
ParameterDescription
usernameUsername of a Joget user.
activityIdActivity instance ID that is assigned to the specified user.
Query String Parameters
ParameterDescription
variables

Workflow variable value(s) to set.

Can be multiple query parameters for many workflow variables.

Sample Response
Code Block
languagejs
{
  "activityId": "381_150_expenseclaim_process1_new_claim",
  "processId": "150_expenseclaim_process1",
  "nextActivityId": "..."
}
10

Anchor
Reevaluate assignments of current user
Reevaluate assignments of current user
Reevaluate assignments of current user

Panel
borderColorblack
bgColor#fbfff5
borderStylesolid

Reevaluate all assignments of the currently logged in user.

Name

Description
URL/assignment/completeByUser/{username}/{activityId}
HTTP MethodPOST
Path Parameters
ParameterDescription
usernameUsername of a Joget user.
activityIdActivity instance ID that is assigned to the specified user.
Query String Parameters
ParameterDescription
variables

Workflow variable value(s) to set.

Can be multiple query parameters for many workflow variables.

Sample Response
Code Block
languagejs
{
  "activityId": "381_150_expenseclaim_process1_new_claim",
  "processId": "150_expenseclaim_process1",
  "nextActivityId": "..."
}