Get the App
SLTechnology News&Howtos  ›  Development  › 

How to realize the free jump of workflow Flowable nodes

Shulou Source: shulou.com Published: 2022-06-03 05:53:25 11月17日 Update

The main content of this article is "how to realize the free jump of workflow Flowable nodes". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to realize the free jump of workflow Flowable nodes.

The relevant sample code can be found in the open source code of Flowable. The specific location is as follows:

\ modules\ flowable-engine\ src\ test\ java\ org\ flowable\ engine\ test\ api\ runtime\ changestate

Code:

/ * Mobile node * www.fhadmin.org * / @ RequestMapping (value = "move/ {proInstId} / {nodeId} / {toNodeId}") public void move (@ PathVariable ("proInstId") String proInstId, @ PathVariable ("nodeId") String nodeId, @ PathVariable ("toNodeId") String toNodeId) {runtimeService.createChangeActivityStateBuilder (). ProcessInstanceId (proInstId) .moveActivityIdTo (nodeId, toNodeId). ChangeState () } runtimeService.createChangeActivityStateBuilder (). ProcessInstanceId (proInstId) .moveActivityIdTo (nodeId, toNodeId). ChangeState (); at this point, I believe you have a deeper understanding of "how to realize the free jump of workflow Flowable nodes". You might as well do it in practice! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Tags: Nodes free workflow work code content learning practical deeper location interest practicality practical easy to operate method more friends examples websites channels Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Shulou Tech Info Redmi Apple NVidia