| Article | 70001091 |
| Type | Bug |
| Product | WebJS |
| Version | 7010 |
| Date Added | 5/26/2017 |
| Fixed | 7.7011.0.6 (5/26/2017) |
| Submitted by | Brendan Fry |
Summary
ScriptCommand finish callback does not fire when user cancel the action
Solution
In version 7011.0.6 ScriptEntityDelegate will be fired when an entity added to the document
successfully but also when the command cancelled before an entity has been added.
But if the command is not finished successfully then the entity may be null.So user must check
the vdraw.ActiveAction().IsCanceled() to determine if the command is canceled by user.
