web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Microsoft Dynamics AX 2012 Workflows Architecture Bottleneck

(0) ShareShare
ReportReport
Posted on by 49,438 User Group Leader

1)      In dynamics AX any Batch job is always running under one company. Because one of the properties (Save data per company) of table (BatchJob) is set to NO. Similarly when it comes to workflows, the workflow batch is also running only under one company.  Because the table which saves the configuration for batch jobs has its property Save Data Per company as No.

2)      In other words, if you make initial configuration of workflows once, it will be done in all companies and you can’t override this.(System administration >> Setup  >> Workflow >> Workflow Infrastructure configuration)   

3)      Now, when you submit a workflow for a company/Legal entity and the workflow batch job is running in another company, the system does not create work item. Additionally, you receive an error message that states that you have insufficient permission.

4)      Microsoft have mentioned the solution for #3(the problem) in CU3.  https://mbs2.microsoft.com/Knowledgebase/KBDisplay.aspx?scid=kb;EN-US;2709934

What Microsoft is doing basically, is to set the property (Save Data Per Company) of table (on which workflow is to be operated) as No.

5)      In one of the implementations we were having 15 companies, and after creation of 15 legal entities, it was asked to share the data for vendors and customers. We created 15 legal entities and shared data for customer and vendors using Company Virtual Accounts. It’s important to remember that, we shared data using virtual company accounts, as recommended by Microsoft.

6)      After performing step 5 we cannot set the property (Save Data Per Company) for Vend Table and CustTable as no. because tables are already shared using Virtual Company Accounts. And now in these tables data is being saved with DataAreaId of virtual company.

7)      The user who is the approver he/she gets the notification for workflow approval, always from the company under which workflow batch is running instead of from where its being submitted. So when the user clicks on Go to Origin he/she is directed towards a wrong direction/company (always to company from in which batch is being executed). 

*This post is locked for comments

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans