Workflow operations - script to Java migration
The migration tables list the script operations that map to Workflow Java™ API methods.
Workflow
These script operations can be
mapped to the following Workflow Java API
methods.
Script operation | Java method |
---|---|
saveWfl | save
validate |
setCategoryTreesForRecategorization | setHierarchiesForRecategorization |
setWlfName | setName |
getWflName | getName |
getWflDesc | getDescription |
setWflDesc | setDescription |
setWflAccessControlGroup | setAccessControlGroup |
getWflAccessControlGroup | getAccessControlGroup |
getWflContainerType | isCategoryWorkflow
isItemWorkflow |
getWflSteps
getWflStepPaths |
getSteps |
getWflInitialStep | getInitialStep |
getWflSuccessStep | getSuccessStep |
getWflFailureStep | getFailureStep |
deleteWfl | delete |
createWflStep | addStep |
CreateNestedWflStep | addNestedWorkflowStep |
getWflStepByName | getStep |
getWflStepByName(“FIXIT”) | getFixit |
Workflow Manager
These script operations
can be mapped to the following Workflow Manager Java API methods.
Script operation | Java method |
---|---|
Workflow(name,type) | createItemWorkflow
createCategoryWorkflow |
getWflByName() | getWorkflow |
WorkflowStep
These script operations can
be mapped to the following WorkflowStep Java API
methods.
Script operation | Java method |
---|---|
getWflStepName | getName |
getWflStepDesc | getDescription |
setWflStepDesc | setDescription |
getWflStepType | getType |
getWflStepExitValues | getExitValues |
setWflStepExitValues | getExitValue
createExitValue hasExitValue |
getNextWflStepsForExitValue | getNextSteps |
getWflStepReserveToEdit | isReserveToEditEnabled |
getWflStepAddEntries | isImportAllowed |
getWflStepCategorizeEntries | isRecategorizeEnabled |
getWflStepPerformerRoles
getWflStepPerformerUsers |
getPerformers |
mapWflStepExitValueToNextStep | setNextStep
setNextSteps |
setWflStepPerformerRoles | addPerformer |
setWflStepPerformerUsers | addPerformers |
setWflStepReserveToEdit | setReserveToEdit |
setWflStepAddEntries | setAllowImportIntoStep |
setWflStepCategorizeEntries | setRecategorize |
getEditableAttributeGroups | getEditableAttributeCollections |
getViewableAttributeGroups | getViewableAttributeCollections |
getRequiredAttributeGroups | getRequiredAttributeCollectionss |
setEditableAttributeGroups | setEditableAttributeCollections |
setViewableAttributeGroups | setViewableAttributeCollections |
setRequiredAttributeGroups | setRequiredAttributeCollections |
getWflStepAttributeGroups | getAttributeCollections |
getLocationHierarchyNames | getLocationHierarchiesWithCan
ModifyAvailabilitySettings |
getModifyLocationHierarchyAvailability setModifyLocationHierarchyAvailability | setCanModifyLocationHierarchyAvailability getCanModifyLocationHierarchyAvailability |
getWflStepEntryNotification | getEntranceNotificationAddresses |
getWflStepTimeoutNotification | getTimeoutNotificationAddresses |
setWflStepEntryNotification | setEntranceNotificationAddresses |
setWflStepTimeoutNotification | setTimeoutNotificationAddresses |
getWflStepTimeoutDate | getTimeoutDate |
setWflStepTimeoutDate | setTimeoutDate |
getWflStepTimeoutDuration | getTimeoutDuration |
setWflStepTimeoutDuration | setTimeoutDuration |
getWflStepScriptPath | getDefaultStepScriptPath |
setWflStepScriptPath | getStepScript |