Private EventProtected AfterProtected AfterProtected AfterProtected ArrayFilters encrypted fields for an array of data objects
Protected ArrayOptional contextUser: UserInfoProtected BeforeProtected BeforeProtected BeforeProtected CheckProtected CreateProtected DeleteProtected EmitExecute a task graph from the Conversation Manager. This creates tasks in the database, manages dependencies, and executes them in proper order.
JSON string containing the task graph from Conversation Manager
ID of the conversation detail that triggered this workflow
Environment ID for the tasks
Optional createNotifications: booleanProtected FilterFilters encrypted field values before sending to the API client.
For each encrypted field in the entity:
Name of the entity
The data object containing field values
User context for encryption operations
The filtered data object
Protected GetProtected GetProtected ListenProtected MapMaps field names to their GraphQL-safe CodeNames and handles encryption for API responses.
For encrypted fields coming from raw SQL queries (not entity objects):
The entity name
The data object with field values
Optional contextUser: UserInfoOptional user context for decryption (required for encrypted fields)
The processed data object
Protected RunOptimized RunViewGenericInternal implementation with:
Protected RunOptimized implementation that:
Protected TestThis routine compares the OldValues property in the input object to the values in the DB that we just loaded. If there are differences, we need to check to see if the client is trying to update any of those fields (e.g. overlap). If there is overlap, we throw an error. If there is no overlap, we can proceed with the update even if the DB Values and the ClientOldValues are not 100% the same, so long as there is no overlap in the specific FIELDS that are different.
ASSUMES: input object has an OldValues___ property that is an array of Key/Value pairs that represent the old values of the record that the client is trying to update.
Protected UpdateProtected createProtected createProtected findProtected getProtected packageSPParamProtected safe
TaskOrchestrationResolver handles multi-step task orchestration. This resolver is called when the Conversation Manager returns a task graph for complex workflows that require multiple agents working in sequence or parallel.