piku
piku

Reputation: 613

Avoid multiple Instances in workflow Ax2009

Whenever the user submits a workflow request from Enterprise portal clicking more than once, multiple instances are generated. Kindly suggest a way to avoid as it is misleading.

enter image description here

Thank you.

Upvotes: 0

Views: 120

Answers (1)

NoaHammer
NoaHammer

Reputation: 352

Have a look here

In the event this.WorkflowActionBar.EvaluatingCanSubmitToWorkflow you could via the EP's Business Connector session call a static method in X++ to check whether a workflow for your current process / document / whatever already exists and avoid submitting it again. How you determine that of course depends on your environment / process etc.

Upvotes: 3

Related Questions