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)

Using PHP to Update Dynamics AX 2012 Workflow

(0) ShareShare
ReportReport
Posted on by

I am currently attempting to set up a PHP script to communicate with Dynamics AX 2012 and update a workflow (i.e. approve and reject), and after reading this post I believe it can be achieved using the business connector - however I also read a lot of articles advising not to use the Business Connector with AX 2012 and so I would like to avoid doing so if possible.

My question is: How can I use PHP (or any other language I can call through PHP) to communicate with AX 2012 to approve/reject or otherwise update existing workflows without using the business connector?

Thanks in advance.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Jonathan  Halland Profile Picture
    11,310 on at

    Hi

    I've also looked into the connection between PHP and AX a few times in the past and came to the conclusion that you have a number of option with varying degrees of functionality and complexity.

    1. You can connect to the pre-existing webservices in AX. This works really well if you're using .NET, but with PHP its a bit more tricky to manage.

    2. I haven't tried using the business connector in PHP, but I'm wary of the compatibility of the .NET components as well as its future use in AX. Its being phased out

    3. Code an intermediary simple Rest/ JASON webservice in .NET that PHP can consume which in turn communicates to AX via the official webservices.

    4. Perform some simple file drops for asynchronous processing. We used this for a PHP Display board that needed to present simple info out of AX. This will probably not be ideal for your use.

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