State text | class name | ActivityStates |
---|---|---|
aborted | AbortedFlowNodeStateImpl | ABORTED_STATE |
aborting activity with boundary | AbortingActivityWithBoundaryStateImpl | - |
aborting | AbortingBoundaryAndIntermediateCatchEventStateImpl, AbortingCallActivityStateImpl, AbortingFlowNodeContainerStateImpl, AbortingFlowNodeStateImpl | - |
cancelled | CancelledFlowNodeStateImpl | CANCELLED_STATE |
completing activity with boundary | ⚠CancellingActivityWithBoundaryStateImpl, CompletingActivityWithBoundaryStateImpl | - ⚠ Note ⚠: text "completing", class name "cancelling" |
cancelling | CancellingBoundaryAndIntermediateCatchEventStateImpl, CancellingCallActivityStateImpl, CancellingFlowNodeContainerChildrenStateImpl, CancellingFlowNodeStateImpl | - |
completed | CompletedActivityStateImpl | COMPLETED_STATE |
completing | CompletingActivityStateImpl | COMPLETING_STATE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Test API</title> | |
<script type="text/javascript"> | |
// HTTP call to the login service | |
var loginRequest = new XMLHttpRequest(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Return the API URL to instantiate the cancel vacation request | |
// process | |
if ($data.processCancel && $data.processCancel.length > 0) { | |
return "../API/bpm/process/" + | |
$data.processCancel[0].id + | |
"/instantiation"; | |
} else { | |
return null; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.bonitasoft.engine.api.IdentityAPI | |
import org.bonitasoft.engine.identity.User | |
import org.bonitasoft.engine.identity.UserCriterion | |
import com.company.model.VacationAvailable | |
// Default vacations days number | |
final int daysAvailableInitialValue = 10 | |
// Offset and increment to use when using paginated API |