Saves the given record. Use to save created entity or to save updates made to the record, in the same way as users hit ‘Save’ button in Sugar interface after updating field values or new record creating. Often follows by Set Entity Attributes.
Do not use Save Entity:
- in Before Save logic to save entity that is set in On Data Change. Sugar saves the record anyway.
- right away after Link Entities
Be aware that Save Entity executes all flowcharts that trigger on this entity, except the current one.
If there are several Save Entity actions of the same record in the flowchart, all other flowcharts for this record will be called only once (when Save Entity firstly occurs in the flow).
inputs:
entity– input record to save
- Required: yes
outputs:
entity – updated record
Be consistent with entities link. If a record is once saved in the flowchart, use the output port entity from Save Entity for further modifications of this record within the same flowchart.