The process modeler SDK is available in any input or output variables in the process modeler, It allows users access resources from process and execute complexe computational in the instance run time.
The SDK can be accessed trought the SF variable.
The SDK has the following attributs
In the following sections we will explicit each attribute and the allowed methods.
The utils object has the methods that will allow you to
Is a function that generate an incremental number based on given string
Axios is a Promise based HTTP client for the browser and node.js Lean more See the official documentation
Allow to insert an array of json in to a collection
Allow to insert a json in to a collection
Returns one document that satisfies the specified query criteria . If multiple documents satisfy the query, this method returns the first document.
Returns all the documents that satisfies the specified query criteria .
update the first document that satisfies the specified query criteria .
update all the documents that satisfies the specified query criteria .
Returns the count of documents in the collection.
Get all users in a given group
get the users who exist in certain groups.
Get user information using his id.
Get user information using his email.
Update user information using his ID.
Update a list of users individualy : to each user their own payload.
Get the content of a file using his ID
Insert a row into your SQL Table
Insert an array of rows into your SQL Table
Find data in your SQL table.
Find all rows in your SQL table that match a certain criteria.
Update data in your database.
Delete rows from your database.
count rows in your database.
Execute custom/complex statements on your database.