Hi experts,
i have created a workflow in the project entity so that when the user selects a primary contact lookup field, the workflow should automatically populate the phone number field.
My workflow works only when I save the form and not when the lookup field changes.
Please help.
Here are parameters of the workflow:
Thanks!
Jon
*This post is locked for comments
Hi Jon ,
Workflow will trigger based on records which exists in your database or when you are saving the database in stage 30. So using workflow you can not achieve.
You can write JavaScript in this case.
the workflow is triggered when you save and because is synchronous you are able to see the phone number after you save.
If you need to show the phone number immediately after the lookup change, then you need to add a javascript code in the onchange event of the lookup field to fetch the phone number (using the webapi) and set inside the field.
Mohamed Amine Mahmoudi
83
Super User 2025 Season 1
Community Member
54
Victor Onyebuchi
6