Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Tip

Webhooks are available from version 3.3 of the Dataloy API

...

The old values cannot be used for all object, please contact Dataloy support.

Easy way of writing expressions for webhook from version 6.9

The user need not know the attribute names in order to use an expression and will have the possibility to select an attribute from the list of attributes on the given objectType in the subscription and can chose the operators from the list of operators.

This is achieved by the use of special characters as listed below-

  • using . (Dot) in the expression field will list all the sub objects for the given object type. The list of attributes will be filtered based on the characters typed
  • $(dollar) will list the operators that can be used
  • using old or ,(comma) will enable the use of oldDlpObject in the expression
For example, instead of using this in an expression 


Code Block
dlpObject.getInvoicingStatus() != null && dlpObject.getInvoicingStatus().getStatusTypeCode().equals(“RFP”) && (dlpObject.getDocumentType().getDocumentType().equals(“ACP”) 


a simple of achieving this would be to use


Code Block
.invoicingStatus.statusTypeCode = RFP && .documentType.documentType = ACP OR .documentType.documentType = ACP 


Image AddedImage AddedImage Added

The need for the user to create expressions with null checks for the objects is also removed and will be taken care by the platform. Expressions will work the same way if the object is checked for null or not. For example both of the below shall work the same.


Code Block
.invoicingStatus.statusTypeCode = RFP && .documentType.documentType = ACP OR .documentType.documentType = ACP 
.invoicingStatus != null && invoicingStatus.statusTypeCode = RFP && .documentType.documentType = ACP OR .documentType.documentType = ACP 

Possibility to filter  changes that have to be pushed via scripts

Contact Dataloy to have info regarding scripts.

...