Updating Blueprint stage from my Deluge function
Hi all,
I need to update the blueprint stage. Its almost working, but ONLY if the current Deal stage is 'Closed Lost'. On any of my custom stages that Ive specified in the pipeline it doesnt work!
My code:
- dealmap = Map();
- deal_stage = deal.get("Stage");
- dealmap.put("Stage","Viewing Booked");
- info deal_stage;
- updatedeal = zoho.crm.updateRecord("Deals",deal.get("id"),dealmap);
Any ideas? Thanks