Skip to content
RevOps Agentified

SugarCRM

Use SugarBPM to retain the most recent open stage on an opportunity that closes.

An open-stage value survives the Closed Lost update
Qualification
The last open stage starts at Qualification.
Negotiation
SugarBPM writes the new open stage.
Closed Lost
The last open stage remains Negotiation.

Keep the last open stage for win-loss reporting

SugarCRM now uses the SugarAI name. In Sugar Studio, create a custom Last Open Stage field on Opportunities. In SugarBPM use an opportunity process definition and an exclusive gateway. Route each open Sales Stage to a Change Field action that writes the corresponding value. Route both closed stages to an End event. If opportunities can be created in a later stage, include creation in the process start criteria and test it.

Use a test pipeline with Qualification, Negotiation, Closed Won, and Closed Lost. Walk a $36,000 opportunity through Qualification and Negotiation, then close it lost. Filter the win-loss report by the captured field and compare it with the opportunity. Decide explicitly whether reopening allows the field to update again. This example tracks the latest open stage through a reopen.

SugarBPM saved stage changes
Opportunity movementExpected result
Qualification to NegotiationLast Open Stage becomes Negotiation.
Negotiation to Closed LostLast Open Stage remains Negotiation.
Reopen at QualificationLast Open Stage becomes Qualification for the new cycle.

Store the reporting definition of last open stage with the opportunity field inventory.

Test the SugarCRM example

Use these inputs to predict the result. Check your answer against the guide.

Opportunity movement
Reopen at Qualification
Check the expected result
Expected result
Last Open Stage becomes Qualification for the new cycle.

Compare with another case

Opportunity movement
Qualification to Negotiation
Expected result
Last Open Stage becomes Negotiation.

GTM Systems Academy newsletter

Get guides to CRM ownership, integrations, and migrations, with checks to run before you change your stack.