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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

workflow in dyamics Ax

(0) ShareShare
ReportReport
Posted on by 719

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

*This post is locked for comments

I have the same question (0)
  • Martin Hjort Profile Picture
    115 on at
    Can you pls. add some more details in regards to setup on workflow templates. Is it a purchreq/project req/custom req. What conditions have you defined for the workflow
  • Community Member Profile Picture
    on at

    I am also facing the same problem of workflow in AX. When I use purchase req it is not assigning to the users. Valuable inputs will be highly appreciated . I wish if I can connect with anyone who can resolve this. Please provide phone nos if possible to discuss the same in detail.

    Regards,

    Santhosh 

     

     

     

  • Mashook Profile Picture
    719 on at

    I have created new workflow for my new module.when submitting the workflow it gets activated but it is not assigning to the user i assigned.while seeing in view history ,the workflow status is pending but actually i submitted to workflow but it is showing pending.please help..

  • Mashook Profile Picture
    719 on at

     i have created new workflow for my new module.when submitting it gets activated but it is not assigned to the users i assigned.in view history form,the status of the workflow shows pending.please help..

    THANKS

  • Community Member Profile Picture
    on at

    Hi Mashook,

    I have rectified my workflow issue my unistalling AX and re did everything from scratch, the workflow started working.

    Hence there are few things you may need to check like how many instance you are running. If you are running more than one instance just stop all other instance and try. If this does'nt work then you can rerun your installation procedure to ensure everything is setup right. Take back up of everything you have and do the reinstallation.  Try this .

    Note: Workflow seems to work only when one instance is running for me after reinstallation.

     

    Regards,

     

    Santhosh Kumar R

  • Santosh Kumar Paruvella Profile Picture
    270 on at

    Hi All,

    I also have similar type of issue

    I have created new workflow for my new module.when submitting the workflow it gets activated but it is not assigning to the user i assigned.while seeing in view history ,the workflow status is pending but actually i submitted to workflow but it is showing pending.

    Please any help..

    As Santosh Said earlier, for me it's very difficult to re-install every thing and get back the system freshly... I have heavily customizations and different layers.

    If any another solution please help me out...

    Regards,

    Santosh Kumar Paruvella.

  • Santosh Kumar Paruvella Profile Picture
    270 on at

    I had faced this issue because of two reasons in my case

    1)      Batch server not running properly

    2)      Target date issue – calendar setup for workflow.

     Solution for 1st issue is following

    If we have any issues with batch server in dynamics ax, while working on Dynamics Ax Workflow, alternatively we can run the batch jobs, using a simple Job.

    static void workflowJobs(Args _args)

    {

        SysWorkflowMessageQueueManager  queueManager;

        WorkflowWorkItemDueDateJob      workItemDueDateJob;

        ;

        queueManager = SysWorkflowMessageQueueManager::construct();

        queueManager.run();

        workItemDueDateJob = new WorkflowWorkItemDueDateJob();

        workItemDueDateJob.run();

    }

    Here we need to (manually) run the job more number of times to complete the workflow steps, where as batch server run these jobs upon recurrence scheduled.

    This is an alternative way to run the workflow jobs, if we have issues with batch server.

    Solution for 2nd issue, I had posted the same solution in my technical blog and that can see at the following link.

    http://paruvella.spaces.live.com/blog/cns!F2EC589E221A4DB0!259.entry

    Regards,

    Santosh Kumar Paruvella.

  • Mashook Profile Picture
    719 on at
    hi Santosh , can u explain me from the creation of workflow from the beginning.i am struggling for the past one month in workflow.workflow bar is displaying in the form , workflow is getting activated but it is not submitting for approval.i dont know where i did mistakes.please help. Thanks Mashook
  • André Arnaud de Calavon Profile Picture
    305,394 Super User 2026 Season 1 on at

     When the workflow is activated, but not assigned, you can first check the batch processing for the workflow items in AX.

    You can also check if your IIS is running correctly. Read more on the next blog: 

    http://blogs.msdn.com/lcash/archive/2009/08/30/using-workflow-on-the-r2-demo-vm.aspx

    Perhaps you can download the demo virtual machine (available from customersource and partnersource) to check the configuration and setup. I did it and the workflow is running in the VPC (after following the tips on the blog). Somewhere in the next months we will try to activate workflow in the real world.

     

  • Santosh Kumar Paruvella Profile Picture
    270 on at

    Hi Mashook

    In my case i had also struggled a lot intially like you only.... :-(

    I am able to submit the workflow, but not able to assign to any one for approval (Workflow setup is done for assigning alos)... i.e. further i am not bale to complete the workflow cycle after submit action is completed.

    later i found that issue with batch server, not exceuting the batch jobs even though i had defined batch jobs for worklfow execution classes and given the reccurence as 1min only....

    No result.. :-(

    After i had run the above job explicity by creating the new Job under AOT-->Jobs.... (if u have same issue just u can run this job)

    U have to run the job around 4-5 times to activate the further steps of workflow... after this u will find that workflow has assigned for approval to the assigned person from workflow setup.

    then i came to know that another issue with Calendar setup for workflow. for this also u can find the solution from my previuos post here

    Try this way, i think u will get succeed.... All the best :-)

    Regards,

    Santosh Kumar Paruvella.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 21

#2
Harisgillani Profile Picture

Harisgillani 4

#2
dekion Profile Picture

dekion 4

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans