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 Version History

Version 1 Current »

As customers and attributes may change any time, it is handy to run an automatic background job to update the object references regularly on a particular partition. 

A typical use case: We have contracts related to a customer group. There is a new customer added to that group. When displaying contracts of that newly added customer, we want to make sure the data is up-to-date and includes all of the contracts of the corresponding customer group. 

To ensure a timely object references update, we need to trigger addObjRefAction. This can be done using a /wiki/spaces/DEV/pages/99575861 which is set to a reasonable frequency (e.g. once a day). 

actionBuilder.addObjRefAction().setFilter(filter).setPartition(partition).setTypeCode('typeCode')

For the above mentioned case with contracts, we would adjust "typeCode" to be "CT", "partition" to be the partition you need it for and filter as needed.

  • No labels