Skip to main content
All CollectionsFrends FundamentalsBuilding Subprocesses - Testing and Monitoring
Example on Testing the Subprocess by calling it from a Process
Example on Testing the Subprocess by calling it from a Process

Call Subprocess

Ossi Galkin avatar
Written by Ossi Galkin
Updated over 7 months ago

Testing the Subprocess by calling it from the Process

A) Find the Process from the Process List View and run the Process

This is done with similar steps to finding the Subprocess, but from the Process List View.

B) Monitor the Process execution

See the next module for details on how to do this.

C) Show the Subprocess execution

See the next module for details on how to do this.

D) Validate the execution

Based on monitoring results, validate the Subprocess execution against the result that is expected by design.

Failed process execution

If Process execution ends up in an exception situation i.e. Process execution fails, the Element where execution failed is indicated as red.

To generate an exception situation with the Process set-up, we have used. Let's do the following:

  • remove maxLenght Default value from Subprocess

  • remove the Max length value from Subprocess call Element.

Once this modification is completed, let's run the Process to see how the exception situation is presented in the Monitoring view.

From the Process Monitoring view, you can find a failed execution row (1). In addition, failed execution isindicated with the red graph in the timeline (2). To open the Process instance to Monitoring view click the instance row (1).


The Element where the Process execution failed is indicated red (2). The error message is on the top of the view (1). You can return to the Process instance view by clicking 'Back to list' (3), and edit the Process by clicking 'Edit' (4).

In our simple test set-up the Process execution has failed in the subprocess called. You can access the subprocess by clicking the Subprocess call Element and 'Show subprocess execution' on the right hand side panel.

On the Subprocess level we can see Exclusive Decision Element been highlighted as yellow (2) indicating us that Subprocess execution has failed there. Similarly to the Process execution view above you can find error message (2), return back to parent execution (3), return back to list (4) or edit the Subprocess (5).

In our case root cause for execution failing was the length parameter didn't have value at all. That cased the expressino in Exclusive Decision Element to fail.


โ€‹

Did this answer your question?