Question Status

Suggested Answer
Mashook asked a question on 13 Sep 2009 4:59 AM

My workflow gets activated but it is not assigned to the user i assigned.. anybody knows please help..

Reply
Santosh Kumar Paruvella responded on 24 Feb 2010 8:01 AM

Hi Arjun,

Here the workflow originator (user who is submitting the workflow) and workflow approver must be under the groups of wfexc and wfsys.

Best Regards,

Santosh Kumar Paruvella

Reply
Arjun Reddy responded on 2 Mar 2010 9:41 AM

 I used the auto-approval when setting up Workflow and yes work originator is under the group wfsys and wfexec

Reply
Naveen Kasula responded on 21 Jul 2010 12:57 AM
HI Santhosh,   I am facing the same issue and not able to solve can you pls suggest me.   Once I submit the Purchase Requisition, the workflow is not getting assigned to any one for approval. The workflow configuration setup is done properly but the Batch server is not executing the batch jobs. I had tried to follow your steps, I had executed the below jobstatic void workflowJobs(Args _args){    SysWorkflowMessageQueueManager  queueManager;    WorkflowWorkItemDueDateJob      workItemDueDateJob;    ;    queueManager = SysWorkflowMessageQueueManager::construct();    queueManager.run();    workItemDueDateJob = new WorkflowWorkItemDueDateJob();    workItemDueDateJob.run();}But this did not work.

If any another solution please help me out...

 

Thanks in Advance,

Naveen Kasula

Reply
Santosh Kumar Paruvella responded on 21 Jul 2010 1:04 AM

Hi Naveen,

You need to run the above job more than once until it is get assigned.... (In case batch server not working properly)

If server works fine, it will take number of iterations as shadow, based on reoccurence....

 so here manually, you need to run the above job more than once...

for more information u can refer my blog entry as mentioned above.....  

still if u have issues u can contact me freely.........

Best Regards,

Santosh Kumar Paruvella.

Reply
EduardoAndres responded on 26 Jul 2010 7:08 AM

Have you debug the code when you submit the workflow? I was facing a similar issue, and I did the following:

1- I made sure that the Assignee was within the SysCompanyInfo table and the SysUserInfoTable. In my case I had to add those users to active directory and create an account in ax with the correct permissions.

2- I found the above by debugging the code line by line until I got an error with some values equal to null. From that point on it took me a whole day to fix all the issues. But basicaly were issues regarding the lack of data necessary to complete operations.

3- Make sure that in IIS the workflows have the sufficient permissions to access data (in this case you should check the Business Connector and ISAPI rights)

Good luck!

Reply
Abdul Aleem Quadri responded on 19 Aug 2010 5:32 AM

 All details about setting up workflows in AX are available at the link below:

http://microsoft-axapta.blogspot.com/2009/06/creating-workflows-in-ax.html

Reply
sreess responded on 13 Oct 2013 2:49 AM

Do we need to manually run Workflow batch manually everytime. Now we are running workflow engine by going to AOT > Forms .How can we enable the workflow batch job always running backend? Please help

Reply
Amina ANNANE responded on 13 Oct 2013 11:03 AM

Hi,

Verify that the user have the right to approve the workflow and the calendar that you had choosed when you affect the workflow to the user!

click on the button Actions the choose "view history" to verify if the workflow is blocked or "waiting"!

Good luck

Reply
Suggested Answer
Amith Prasanna responded on 6 Oct 2014 4:00 AM

Here is the best tutorial ever ,

sumitsaxfactor.wordpress.com/.../workflows-installation-and-configuration

Double check your configuration with the guides , which include this blog post.

its also helped me a lot .

hope this may help.

Cheers!,

Amith Prasanna

Reply
Tolu Koya responded on 13 Oct 2014 6:54 AM

Hi Arjun,

Since my reply is coming more than 4 years later it may not be useful to you but hopefully someone else out there will benefit.  I had the same problem you had even after I tried Santosh's simple batch job - I was getting an error.  One thing you need to do after you've copied and pasted the script into AOT->Jobs is you need to compile it first before clicking the 'Run' button or F5.  When I did that it worked and all the workflows that were stuck assigned to users and generated work items.

Reply
Shrikant Patil responded on 17 Oct 2014 1:23 AM

I am facing similar issue. workflow doesnot works only when I set condition with originator, it works with other conditions.

Reply
Rana Imran responded on 17 Oct 2014 1:42 AM

hi dear,

please go to system administraton/common/ users

select the user and click on edit

in user go to user's roles/ assign roles and select the roles who assign to user

Reply
Suggested Answer
Bashir Ahmad responded on 17 Oct 2014 2:14 AM

Please follow the link:

technet.microsoft.com/.../gg723980.aspx

Reply
Suggested Answer
Amith Prasanna responded on 6 Oct 2014 4:00 AM

Here is the best tutorial ever ,

sumitsaxfactor.wordpress.com/.../workflows-installation-and-configuration

Double check your configuration with the guides , which include this blog post.

its also helped me a lot .

hope this may help.

Cheers!,

Amith Prasanna

Reply
Suggested Answer
Bashir Ahmad responded on 17 Oct 2014 2:14 AM

Please follow the link:

technet.microsoft.com/.../gg723980.aspx

Reply