Open topic with navigation

TIBCO Business Studio™ - BPM Edition 5.4.0

# Error Codes and Process Interfaces

The following example shows how a "get balance" example could be implemented as a sub-process.

The process flow is as follows:

- The process is started upon receipt of a start event that contains an account.
- The REST service task looks up the account in the database to verify if it is valid.
- If the account is valid, another REST service task gets the balance, and the balance and account number are sent as output.

  If the account is not valid, an error code is generated.

  In this case, the sub-process generates an error, and in the calling process the error is resolved.

  The catch error event is configured to detect the error thrown from the sub-process.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Business Studio™ - BPM Edition

Copyright © 2015-2023. Cloud Software Group, Inc. All Rights Reserved.