
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)