You need to sign in to do that
Don't have an account?
Urgent :Workflow is not working while creating record
Hi,
I have created a trigger in a custom object to update a currency field Actual CPi .I want Same field to update in another field Proposed CPi which is editable.Hence i used workflow to update Actual CPI in Proposed CPI.When i create a new record the Actaul CPI will update the value.But Proposed CPi doesnt update the Actual CPI.
Based on execution order trigger will run first .How can i update the workflow when i create the record.
I used this formula for workflow :
ISCHANGED(ActualCPI)
criteria:Evaluate the rule when a record is created, and every time it’s edited
Thanks
Hello,
try to modify the criteria in the workflow:
ISCHANGED(ActualCPI) || ISNEW()
Hi Sandeep,
yes Im updating on Proposed CPI
hi,
Yes i tried same criteria in workflow.Not working
Possible you're using the option to fire the workflow:
"created, and any time it’s edited to subsequently meet criteria"
if so try the option:
"created, and every time it’s edited"
Another advise is to try and view what is going thru the system log.
After running the process you suppose to see something like:
This might help you to know if your workflow rule is being called at all, and if so if the condition is true/false.
Hi ,
Im using 'created, and every time it’s edited' because ISCHANGED will not support other criteria.
This is log which i got
Still value is not updating.
Than you can see that the workflow is called and the criteria is true.
keep looking at log if it does the update after the WF_CRITERIA_END
In my example it's:
No there is no update in system log.
Im using a trigger to update Actual CPI.I think trigger is running always.
This is the trigger.Im uisng before insert and before update.
Is this because of this trigger ?
I would check the workflow field update.
It's sounds weird that you see and in log the criteria is met, but no additional action from the workflow there.