found how to filter fields.
Automated Action for cost price
Code execution in automated action
Python code execution successfully in automated action 
executed formula in the same python code