Best practice to get targeted processId

We're in the design phase of creating cross-channel communication for business processes. We use CRM, Mobile, Kiosk, and other channels to send and receive messages to and from Appian. Our goal is to develop a web API that enables message exchange between the various channels in our ecosystem. Outside of Appian, we have a solid architecture for data flows and event-driven management between these microservices.

We're interested in learning about best practices for determining the target process ID in the receive API.

We use the correlationId as a consistent key across all channels to avoid exposing internal IDs. After a process starts, we store the correlationId in a process variable. There are several approaches to obtaining the process ID using the correlationId, but we're looking for the best solution. One approach I've found is to create a process report to filter by the process variable. However, this would require creating separate process reports for each case.

Another approach would be to store the process ID and correlation ID in a database. We would appreciate your recommendations on best practices regarding this setup.

  Discussion posts and replies are publicly visible