Hello,
I would like to validate the data inserted by user during an onEdit script run.
As this seems not to be possible (see this link: https://forums.autodesk.com/t5/fusion-lifecycle-forum/can-a-validation-be-performed-on-oncreate-or-o... )
i kindly ask you to activate the possibility for scripts to follow validation scripts and thus throw the returnValues to the user.
This could be implemented by an optional boolean property "follow validation scripts" during Action script execution.
Result:
An onEdit Script runs automatically a workflow transition "Errorcheck" and this workflow is connected with an validations script which displays the user an Error if the inserted data do not meet the customized validations during the onEdit procedure.
Much better would be the possibility to abort the onEdit process in an action script by throwing an error to the user (like the validation scripts).
this is based on the practical problem:
Connecting several items bi-directional by multi picklists with following cardinality rules:
Item A - Item B cardinality:
nA:nB
with nA: >0
with nB: >= 0
The user should not be able to choose nA = 0 for an Item B, while deleting the connection in Item A (the manual try to delete the connection nA in Item B is catched by the predefined validations of the fields. But the script is possible to ignore this during the onEdit of item A!)
If the user tries this in Item A, an alert should pop up and inform the user - even during an onEdit operation
I hope my problem and my wishes are understandable.
Thanks,
Gordon
Can't find what you're looking for? Ask the community or share your knowledge.