You need to sign in to do that
Don't have an account?

One workflow have multiple field update
How to use one workflow for multiple field update.
For eg.
i have one picklist having value 1,2,3,4.and also having some field (tax,excise duty,income tax etc.)
i am selecting 1 value in picklist all field are automatically updated as 0
if 2 then income tax 12%,tax=5%,excise duty=7%
how it is possible
For eg.
i have one picklist having value 1,2,3,4.and also having some field (tax,excise duty,income tax etc.)
i am selecting 1 value in picklist all field are automatically updated as 0
if 2 then income tax 12%,tax=5%,excise duty=7%
how it is possible
Under add Workflow Action select New field update.
Select the field you want to update for ex: sales tax
click use formula to set new value, In the formula editor you can use this formula
IF( ISPICKVAL(Item, veg) , 2%, IF( ISPICKVAL(Item, nonveg) , 12%, IF( ISPICKVAL(Item, sweet) , 0, 0) ) )
Click save and New
Then again select field you want to update for ex: service tax
click use formula to set new value, In the formula editor you can use this formula
IF( ISPICKVAL(Item, veg) , 5%, IF( ISPICKVAL(Item, nonveg) , 20%, IF( ISPICKVAL(Item, sweet) , 0, 0) ) )
Click save and New
Then again select field you want to update for ex: other tax
click use formula to set new value, In the formula editor you can use this formula
IF( ISPICKVAL(Item, veg) , 1%, IF( ISPICKVAL(Item, nonveg) , 5%, IF( ISPICKVAL(Item, sweet) , 0, 0) ) )
Click save
This will work for sure!
All Answers
Under add Workflow Action select New field update.
Select the field you want to update for ex: tax
click use formula to set new value, In the formula editor you can use this formula like this ,
IF( ISPICKVAL(picklist_field, 0) , 0, IF( ISPICKVAL(picklist_field, 1) , 12%, IF( ISPICKVAL(picklist_field, 2) , 18%, 0) ) )
Similrly create different field update for multiple field in a single workflow
Under add Workflow Action select New field update.
Select the field you want to update for ex: sales tax
click use formula to set new value, In the formula editor you can use this formula
IF( ISPICKVAL(Item, veg) , 2%, IF( ISPICKVAL(Item, nonveg) , 12%, IF( ISPICKVAL(Item, sweet) , 0, 0) ) )
Click save and New
Then again select field you want to update for ex: service tax
click use formula to set new value, In the formula editor you can use this formula
IF( ISPICKVAL(Item, veg) , 5%, IF( ISPICKVAL(Item, nonveg) , 20%, IF( ISPICKVAL(Item, sweet) , 0, 0) ) )
Click save and New
Then again select field you want to update for ex: other tax
click use formula to set new value, In the formula editor you can use this formula
IF( ISPICKVAL(Item, veg) , 1%, IF( ISPICKVAL(Item, nonveg) , 5%, IF( ISPICKVAL(Item, sweet) , 0, 0) ) )
Click save
This will work for sure!
Would like to recommend app called Bulk Object Field Creator, it helps to perform Bulk Metadata Operations with some points and clicks. Such as you can easily create or update multiple fields like 500, 1000 in few clicks. Works for both standard and custom objects.
Try it here - https://appexchange.salesforce.com/appxlistingdetail?listingId=a0N30000000qDqqEAE