Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/docs/cleanup-4.8'
Browse files Browse the repository at this point in the history
  • Loading branch information
dejavix committed Mar 7, 2024
2 parents 0f10426 + af53295 commit 34d9991
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/misc/notifications/configuration.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -857,11 +857,17 @@ All variables for `Event` can be used as well.
|$event.workItemId
|event.getWorkItemId()
|$event.getWorkItemId()
a|Returns the workitem id which can be used for further operations. Examples:
a|Returns the workitem id which can be used for further operations. Example:

* call (Groovy) `midpoint.createWorkItemCompletionLink(event.workItemId)` or (Velocity) `$midpoint.createWorkItemCompletionLink($event.workItemId)` to generate a direct link to act on this workitem.
* call `event.getWorkItem().getDeadline()` to get workitem deadline date/time if workitem timeouts are used

|event.workItemUrl
|$event.workItemUrl
|event.getWorkItemUrl()
|$event.getWorkItemUrl()
|Returns the URL which can be used as a direct link to act on this workitem. Very useful for notifications.
The URL is composed using `midpoint.createWorkItemCompletionLink()` method.

|event.cause.type
|$event.cause.type
|event.getCause().getType()
Expand Down

0 comments on commit 34d9991

Please sign in to comment.