Scope of the document:
- Sample haystack logs to be searched for the errors.
- Workflow use cases to deflect internal L2s.
- Expected behaviors.
“Send email” Action to the owner of the related Contact/Account/Deal in the “Call logs” module workflow:
Since the workflow is created for Call logs, the "send email to owner" action will be sending an email to the owner of the call log
If the customer wants to send an email to the owner of the related record then we can implement the below alternate solution,
From the Call log workflow, trigger webhook to update a field (example field name "Test field") in the related contact
Setup a new workflow in the contacts module to send an email to the owner whenever the field "Test field" is updated.
The reason we need to trigger webhook is that we do not support cross-module cascading of workflows.
Cross Module Cascading workflow will not execute.
“Send Email to contact” action did not execute.
If the “From address is Record Owner” and if the contact does not have a sales owner the Email will not be sent. Make sure the record has the Sales owner.
Task did not create via workflow: Record ID - 13016857431; Workflow Id - 13000084937.
Search the logs for “13000084937” AND “13016857431”.
Search for the JID of the action specified. Here the action is “Create a task”.
Now generate the logs using the above JID and search for “error” or go through the sequence of the actions performed from the start. In this example, we have an error in Create task. So, an L2 can be raised.
The sales owner field is not visible in the dropdown option in the “Actions to be executed” section.
Check if the customer has marked the “sales owner field” as the “Read-only” field.
Only Editable fields will be displayed in Workflow.
if the customer does not want his users to have access to edit this field then the customer will have to upgrade to the higher plan where we have the Field permissions feature.
The workflows will not trigger if the update is done through another automation. Only the updates done through the user will trigger the workflow.
Unable to access workflow.
If the customer is unable to access the workflow with the error "Unexpected error occurred", please get the JID from the customer in the Network logs.
Search the JID in the logs to generate the Results.
Raise to L2.
Updates made via workflow.
You can check for the keyword “source_additional_info” to check the source of the updates made to any field.
In the below example, we can see that the “Contact Status” field changes have been updated via “workflow automation”.
Cloning of workflow.
When we switch the trigger criteria from "event-based" to "time-based" or vice-versa while cloning, the added conditions, and actions in the form will be removed and the logic type of the conditions will be reset to "OR", just like how it will be in the new add WFA form.