How to catch error in a running process model?

We what to catch errors in a running process model, save the error in DB.

We also want to know when the PM halts, save something to DB, too.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    Here is some work around:

    - Create parallel process flow for error, which starts with the timer.

    - Setup timer which is more than the time required by the primary flow. Ex. the primary flow needs 5 min to complete, setup timer to 1hr etc. 

    - For any reason the primary flow halts due to an error, the timer flow will get triggers after the predefined time. 

    - Capture PV values and store to DB or send to email as suitable.

    - Incase when the primary flow completes without any error, the timer flow will not get triggered.

Reply
  • 0
    Certified Lead Developer

    Here is some work around:

    - Create parallel process flow for error, which starts with the timer.

    - Setup timer which is more than the time required by the primary flow. Ex. the primary flow needs 5 min to complete, setup timer to 1hr etc. 

    - For any reason the primary flow halts due to an error, the timer flow will get triggers after the predefined time. 

    - Capture PV values and store to DB or send to email as suitable.

    - Incase when the primary flow completes without any error, the timer flow will not get triggered.

Children
No Data