0 votes
1.9k views
in Interview Questions by (30.6k points)
e.g. please describe

1. Claim Check Pattern

2. Constructor Pattern

3. Message Envelope Pattern

4. Injection Recovery Pattern

1 Answer

0 votes
by (30.6k points)

Short, interview-sized descriptions with how each looks in BPM / BAW:

  • Claim Check - keep the process variables small: store the heavy payload (documents, big JSON, images) outside the instance (ECM, database, object storage) and carry only a reference (document id, row key) through the BPD; retrieve it when a step needs it. In BAW: tw.local.docId instead of tw.local.pdfBase64; the document store / FileNet holds the content; keeps execution contexts small and instance migration fast.
  • Constructor - a dedicated service at the start of a process (or of a coach) that builds and initialises the business objects (defaults, lookups, ids) so that every later step can rely on a complete structure. In BAW: "Initialize Order" service flow as the first system task; all fields defaulted, lists created, reference data cached.
  • Message Envelope - wrap every integration message in a standard envelope (header: message id, correlation id, sender, timestamp, version; body: payload) so that UCAs, IIB flows and audits work the same for all message types. In BAW: a MessageEnvelope business object used by every JMS send / UCA service; the header carries the instance id for correlation.
  • Injection Recovery (token injection / "injection" pattern) - a way to recover instances whose flow is broken (failed step, wrong branch, model bug) by injecting the instance into the right activity: in BAW through Process Admin / REST move token (POST /process/{piid}?action=moveToken&tokenId=&target=), or by modelling a "recovery" start point in the BPD (an intermediate message event or a sub-process entry) that operations can trigger with the current data - the second form is the design pattern: build the recovery entry into the model so that support does not need low-level token surgery.

Other patterns worth naming in the same breath: Straight-through processing with exception queues, Saga / compensation for multi-system updates, Timer escalation ladder, Correlation set for message events, Configuration by EPV, and the Facade service per external system.

References

Related questions

0 votes
1 answer 1.6k views
0 votes
1 answer 993 views
0 votes
1 answer 1.8k views
0 votes
1 answer 2.1k views
+1 vote
2 answers 7.5k views
0 votes
1 answer 1.8k views
0 votes
1 answer 2.1k views
asked Aug 22, 2023 by sanjay_hdi (360 points)
0 votes
1 answer 1.0k views
0 votes
1 answer 2.3k views
0 votes
1 answer 2.7k views

723 questions

807 answers

98 comments

4.9k users

Join BPM Community Discord Channel

Welcome to BPM Tips Q&A, Community wiki/forum where you can ask questions and receive answers from other IBM BPM experts and members of the community. Users with 2000 points will automatically be promoted to expert level.
Created by Dosvak LLC
Our Youtube Channel
...