Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Go to Setup > Data Processing Engine > click New button >

Name: Update Cohort Status
API Name: Autopopulate
Process type: Standard

Choose CRM Analytics

Cohort

Configuration tab

image-20240528-022121.png

Source Object selected fields

image-20240528-022504.png

image-20240528-022533.png

Cohort > Reference Tab

image-20240528-022908.png

Cohorts with Current Status

Create a Filter Node called “Cohorts with Current Status “ and link to the Cohort Data Source

Configuration tab

image-20240528-023419.png

Cohorts with Current Status > Reference tab

image-20240528-023342.png

Create Variable with “Past“ Value

Create Formula Node and link to Cohorts with Current Status Filter

  • Create Text Formula with size 4 with alias Status_Past

    • Value: “Past“

image-20240528-023848.png

Create Variable with “Past“ Value > Reference tab

image-20240528-023949.png

Update Cohort with Current Status to Past

  • Create a Writeback Object Node and link to the Formula Node

    • Update Cohort

    • Field Mapping (DPE to Target Object)

      • Id = Id

      • Status_Past = PosiEd__Status__c

image-20240528-024314.png

Cohorts with Future Status

Create a Filter Node called Cohorts with Future Status and link to Cohort Data Source

  • Condition:

    • PosiEd__Status__c = “Future“

    • PosiEd__StartDate__c <= Today

    • PosiEd__EndDate__c > Today

image-20240528-024443.png

Reference tab

image-20240528-025105.png

Create Variable with “Current“ Value

Create Formula Node and link to Cohorts with Future Status Filter

image-20240528-025257.png

Reference tab

image-20240528-025351.png

Update Cohort with Future Status

Create a Writeback Object Node and link to the Formula Node

  • Action type = Update

  • Target Object = Cohort

  • Field Mapping (DPE to Target Object)

    • Id = Id

    • Status_Current = PosiEd__Status__c

image-20240528-025515.png

  • No labels