Workflow action criteria when comparing a value with list field values with a single value can return inconsistent boolean values. For example, I created a custom field ‘Approvers’ to store employees that has approval permission to a record. I was trying to compare this with the logged-in user to restrict the edit permissions of the… Continue reading Workflow list-field comparison criteria fix
Tag: workflow action script
Coordinating Workflow and User Event Scripts in Sales Order Processing
In sales order processing, it is common to utilize both workflows and user event scripts to automate and streamline various tasks. However, a challenge arises when both the workflow and user event script need to be triggered in the Aftersubmit event, but the user event script must execute after the workflow is completed. In this… Continue reading Coordinating Workflow and User Event Scripts in Sales Order Processing
Disable Item Line fields in Workflow action script
The below sample script can be used to disable the item sublist fields in transaction records in Workflow action script
Workflow Action Script is not triggered from User Event Script
Scenario : If the workflow action script is triggering when you create the custom record from the web but not when creating it from the user event script triggered by the creation of a sales order, there may be several reasons why this is happening. Here are a few possible causes: Timing issue: When a… Continue reading Workflow Action Script is not triggered from User Event Script
The workflow action script not triggered from Workflow when the trigger is on after record submit or before record submit.
There is workflow used to perform a 3-way match by comparing the details of the Purchase Order, Item Receipt, and Vendor Bill records in NetSuite. Also ensure that the quantities, prices, and other details match across all three records. To check these conditions a workflow action script is used. The “trigger on” condition was given… Continue reading The workflow action script not triggered from Workflow when the trigger is on after record submit or before record submit.
How to set a Work flow action return value to a field using workflow?
How to set a Work flow action return value to a field using workflow?
Sale Event Workflow
Created a field in the item record applied for inventory and assembly items. Created a workflow for the sales order. Context is website and it will be triggered after submit. The workflow will check for the items whose sale item checkbox field is checked and if inventory in location sales is 0, remove the item… Continue reading Sale Event Workflow
Sets payment profile in sales order.
Sets the payment profile of SO based on the department of the customer.
To display total picked quantity in a custom field.
Calculate the picked quantity from the custom record and populate in the custom body field of work order.
Update last phone call date to the custom field of a customer record
Update custom field by using a workflow action script.