Hello,
Our current system has custom code, that when a you win a quote on an opportunity, loops through remaining draft quotes and sets them to closed. The current code is causing issues so I'm inquiring whether it is possible to build this process with a flow. Has anyone has success doing this process?
Solved! Go to Solution.
Hi @msm8504 ,
Do you want to close all the quotes related to an opportunity when one of them closed?
Please check the following configuration for a reference.
Trigger the flow with When a record is updated in Quotes entity.
Add a Condition to check if the Status label is equal to Closed.
Note: In Dynamics 365 Quotes entity, when we say we won a quote, the status is “Closed”.
Under If yes branch, add action List records, select entity Opportunities. Input the following code in Filter query field:
opportunityid eq Opportunity (dynamic content from the trigger)
Add List records 2, select entity Quotes, and input the following code in Filter query field:
_opportunityid_value eq Opportunity (dynamic content from List records)
Add action Update a record, select entity Quotes and dynamic content Quote (from action List records2) for the Record identifier field.
Then click Show advanced options to set the Status label to Closed.
Images for your reference.
Best regards,
Mabel
Hi @msm8504 ,
Do you want to close all the quotes related to an opportunity when one of them closed?
Please check the following configuration for a reference.
Trigger the flow with When a record is updated in Quotes entity.
Add a Condition to check if the Status label is equal to Closed.
Note: In Dynamics 365 Quotes entity, when we say we won a quote, the status is “Closed”.
Under If yes branch, add action List records, select entity Opportunities. Input the following code in Filter query field:
opportunityid eq Opportunity (dynamic content from the trigger)
Add List records 2, select entity Quotes, and input the following code in Filter query field:
_opportunityid_value eq Opportunity (dynamic content from List records)
Add action Update a record, select entity Quotes and dynamic content Quote (from action List records2) for the Record identifier field.
Then click Show advanced options to set the Status label to Closed.
Images for your reference.
Best regards,
Mabel
User | Count |
---|---|
93 | |
46 | |
20 | |
20 | |
16 |
User | Count |
---|---|
134 | |
56 | |
44 | |
36 | |
26 |