I used code to get all flows from current activity described here https://community.alfresco.com/thread/220347-how-to-get-all-possible-flows-from-current-activity
In Flowable v6.3.1 interface changed and I don’t know how to get it.
I know that:
Process process = ...?... Activity activity = (Activity) process.getFlowElement(activityId, true); List<SequenceFlow> outgoingFlows = activity.getOutgoingFlows();
but how can I get Process object?