Best Practices for In-memory Workflows
- Processes that execute in-memory mode should be very optimal.
 - Do not run long-running processes using the in-memory mode.
 - Do not use activities that take a long time to execute or that import a large number of records for in-memory workflows.
 - Ideally, activities and subflows for in-memory workflows should be executed synchronously.
 - Typically, in-memory workflows complete in a single transaction.
 - Adding subflows in async mode, spawned workflows in async mode, and checkpoints lead to the persistence of intermediate states of the workflow.
 - Use the Checkpoint activity sparingly, for example, use it only when you need to check the status of the workflow at important milestones.
 
Copyright © Cloud Software Group, Inc. All rights reserved.
