Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Updates the status for the current kanban job using a given KanbanJobStatusUpdate record.
Syntax
public boolean runStatusUpdate(
KanbanJobStatusUpdate _kanbanJobStatusUpdate,
[LeanKanbanJobStatus _status,
boolean _validateOnly,
RunbaseRecsMapable _multi])
Run On
Called
Parameters
- _kanbanJobStatusUpdate
Type: KanbanJobStatusUpdate Table
The KanbanJobStatusUpdate record.
- _status
Type: LeanKanbanJobStatus Enumeration
The target status of the update; optional.
- _validateOnly
Type: boolean
A Boolean value that indicates whether the update must be executed or validated; optional.
- _multi
Type: RunbaseRecsMapable Interface
A RunbaseRecsMapable object that is used in the status update; optional.
Return Value
Type: boolean
true if the update can be executed or was successfully executed, depending on the _validateOnly parameter; otherwise, false.
Exceptions
Exception | Condition |
---|---|
Error | The target status and parameter record do not match. -or- The status update cannot be executed. |
Remarks
If provided, the target status must match the update parameter record. The parameter is required for calls where the _validateOnly parameter is true.