BPM MessagesBPM Messages

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.

Screenshot of the code neededScreenshot of the code needed

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

Screenshot of the code neededScreenshot of the code needed

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

Screenshot of the code neededScreenshot of the code needed

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

Custom Integrations Disguised As IPAAS Solutions

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

1 month ago

Salesforce Integration Consulting And Solution Options

Salesforce integration consulting is about more than just finding a partner with experience in integrations.…

1 year ago

Hand-Picked Digital Marketing Platforms for Manufacturers

Platform: HubSpot Where It Shines: Email marketing - easy to use email lists, automation, and…

1 year ago

2024 Manufacturing Trends

Don’t be left behind by neglecting these 2024 manufacturing trends.

1 year ago

Maximizing ROI with CloudSuite Industrial

With a comprehensive ERP like CloudSuite Industrial (CSI) from Infor, there are countless possibilities for…

1 year ago

Infor ERP Releases Innovative Features

An Infor ERP solution isn’t just a temporary fix to today’s issues, it’s an investment…

1 year ago