This silver Bullet Valley zero code development platform for you to bring three practical techniques for the use of process API:
01. Determine whether the next step in the process is the end node
02. Determine whether the process task can be submitted, rolled back or retrieved
03. How to obtain process context data
01
Determine whether the next step in the process is the end node
Reference component:
Vbase_workflow_api (vbase_Process Management API)
Server API:
WorkFlowChainGetNextActivitiesInfo (can submit process activity information)
Generally, the input parameter ProcessTaskId (task ID) will do.
If the node has a judgment, pass the process variable, otherwise no need.
Node judgment return value:
ActivityCircEntity Is the end object when activityType is EndActivity.
The return value
02
Determine whether a process task can be submitted, rolled back, or retrieved
Reference component:
vbase_workflow_api
Server API:
Judge WorkFlowChainTaskDetermine (task)The return value:
03
How do I get process context data
Reference component:
vbase_workflow_api
Server API:
API_GetWorkFlowEventContextData (API_ access process context data)
Without the participation.
Note: This API can only be called in an event, not elsewhere.
That’s the end of the three practical techniques used by the process API
I hope I can help the partners in need
I’ll see you next time