BPM messages can be used to both debug BPMs and show information to Epicor users. The code shown below gives two examples of how messages can be used in your BPMs.

Please click on the images below for the larger size.

This is the complete code used in this example. Code can be copied at the bottom of this post.

This information message warns that the new customer address is missing.

This informational message about adding a new customer, in this example, with the name John Smith.

The following is the code I used for these examples:

/* Display informational and warning messages */ Define Variable debugMessage as Character. Define Variable debugMode as Logical init True.

If (ttCustomer.Address1 = “”) Then {lib/PublishInfoMsg.i &InfoMsg = “‘Warning: Address is missing from new customer'” &InfoSeverity = {&MESSAGE_WARN}}

If (debugMode = True) Then Do:

          Assign debugMessage = “Adding new Customer with name ” + ttCustomer.Name.
         {lib/PublishInfoMsg.i &InfoMsg = debugMessage &InfoSeverity =
         {&MESSAGE_INFO}}
    End.

End.

Suggested

Becky Lipnick

Recent Posts

Maximize Your ROI with Infor VISUAL Integrations​

Infor VISUAL ERP is a go-to choice for manufacturers who need a production-centric system that…

3 months ago

Infor CloudSuite Industrial: Features & Options

Infor CSI (Syteline) - Features & Options With the creation of Infor Configure Price Quote…

5 months ago

Infor CSI: Excel Report Output Format for Reports Without a Dataview

Infor CloudSuite Industrial (CSI) provides powerful reporting capabilities, often leveraging Dataviews for easy extraction of…

5 months ago

How Datix can help Support your Infor VISUAL ERP Platform

In today’s fast-paced manufacturing environment, efficiency, accuracy, and scalability are critical for business success. Infor…

8 months ago

Custom Integrations Disguised As IPAAS Solutions

Many software integrations are build on IPAAS (Integration Platform As A Service) technology because an…

9 months ago