- bropen.bpm.definition.activity.ScriptTask
-
A Script Task is executed by a business process engine. The modeler or
implementer defines a script in a language that the engine can interpret.
When the Task is ready to start, the engine will execute the script. When
the script is completed, the Task will also be completed.
-
-
Inherited fields
| Fields inherited from class |
Fields |
class Task |
DO_TYPE_COUNTERSIGN, DO_TYPE_NORMAL, LOCK_TYPE_DOC, LOCK_TYPE_NODE, LOCK_TYPE_NONE, NODE_TYPE_SERVICE, NODE_TYPE_TODO, NODE_TYPE_TOREAD, RANGE_LOCK_TYPE, RANGE_NODE_TYPE, RANGE_TASK_STATUS_ACTOR, RANGE_TASK_TYPE, RANGE_TASK_TYPE_ACTOR, RANGE_TASK_TYPE_DO, RANGE_TRAN_TYPE, READ_TYPE_CANCELED, READ_TYPE_COMPLETED, READ_TYPE_NORMAL, READ_TYPE_TERMINATED, SEND_TYPE_BACK, SEND_TYPE_NORMAL, SEND_TYPE_RETURN, SF_TYPE_BACK, SF_TYPE_LOOP, SF_TYPE_NORMAL, SF_TYPE_RETURN, SF_TYPE_SEND, STATUS_COMPLETED, STATUS_CONTENTION, STATUS_CREATED, STATUS_DUMMY, STATUS_STARTED, STATUS_SUSPENDED, STATUS_TERMINATED, STATUS_TIMEOUT, TYPE_DRAFT, TYPE_DUMMY, TYPE_SERVICE, TYPE_SUBPROCESS, TYPE_TODO, TYPE_TOREAD |
-
Properties Summary
Properties
| Type |
Name and description |
String |
script 自动环节要执行的脚本(@ExecuteServiceTaskJob),执行完成则返回true,则自动提交 |
-
Methods Summary
Methods
| Type |
Name and description |
void |
setScript(String val)
|
-
Inherited Methods Summary
Inherited Methods
| Methods inherited from class |
Name |
class Task |
actor, actorEI, actorIds, actors, actualActor, actualActorEI, afterLoad, beforeDelete, beforeInsert, beforeUpdate, bootStrapInit, calTitle, complete, dummy, getAvailableSequenceFlows, getDisplayNodeName, getDisplaySender, getDisplaySender, getDisplaySequenceflowNames, getEditable, getRollbackable, getSubProcessInstance, handover, isEditable, isEndTask, isStartTask, opinion, organization, prevTasks, reactive, reset, resume, rollback, setSubProcessInstance, start, suspend, terminate, terminatePreTasks, toString |
class Object |
Object#wait(long, int), Object#wait(long), Object#wait(), Object#equals(Object), Object#toString(), Object#hashCode(), Object#getClass(), Object#notify(), Object#notifyAll() |
-
-
Method Detail
-
void setScript(String val)
BROPEN Documentation, 2020-04-21 11:24