Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Run Program Process for Transaction Journal

Run active loyalty program processes for pending Accrual or Redemption type transaction journals.
The action assesses transaction journals and runs the program processes whose selected journal type matches the transaction’s journal type. If program processes have a journal subtype selected, then processes only run for a transaction journal when the transaction journal's journal subtype matches that processes' journal subtype.

For more information about this action, see Run Program Process For Transaction Journal in Salesforce Help.

This action is available in API version 54.0 and later for users in org's where either B2C - Loyalty, B2C - Loyalty Plus, Loyalty Management - Growth, or Loyalty Management - Advanced license are enabled.

Supported REST HTTP Methods

URI
/services/data/vXX.X/actions/standard/runProgramProcessForTransactionJournal
Formats
JSON, XML
HTTP Methods
POST
Authentication
Authorization: Bearer token

Inputs

Input Details
transactionJournalId
Type
ID
Description
Required. ID of the transaction journal for which program processes must be run. The status of the Transaction Journal must be Pending, and the journal type must be specified for it.

Outputs

Output Details
status
Type
Boolean
Description
Indicates the status of the request. True indicates the program process was successfully run for the transaction journal.

Example

Sample Request

1{
2   "inputs": [
3      {
4         "transactionJournalId":"0lMxx0000A000001EAA"
5      }
6   ]
7}

Sample Response

1[ {
2   "actionName" : "runProgramProcessForTransactionJournal",
3   "errors" : null,
4   "isSuccess" : true,
5   "outputValues":{ 
6      "status":"true"
7   }
8} ]