I'm trying to use a workflow to add a line item to...
# general
f
I'm trying to use a workflow to add a line item to a sales order if and only if a certain field is checked. I have added an action to add an Order Line that triggers upon create/edit and happens after record submit—but it doesn't seem to work and can't figure out why. Is anyone able to point me in the right direction please?
s
what's the workflow log you getting?
f
image.png
I'm not sure how this is possible on afterSubmit trigger because after saving, the value should be CHECKED ("T")
s
yeah then its not the prob with line add, I think its the criteria issue. Can you try with simple condition like if the checkbox is true then add some XYZ memo. If this does not work then there is something wrong with the Must ship checkbox condition