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)

Auto posting in Travel&Expense?

(0) ShareShare
ReportReport
Posted on by

Hi everybody,

I try now to combine two wokflows in Travel & Expense module - an auto-posting and a normal expense report WF as sub-workflow.

The idea was,that an expense report WF includes manual approval steps of Managers and AP Clerk and then -as soon as AP Clerk approves the expense report -  an auto-posting WF should pick up all the expense reports with status "approved" and post it.

But in my case, when AP Clerk approves an expense report, the auto-posting WF  ends with an error:

"Stopped (error): Approved status cannot be changed to In review status".

Or: my second idea was to use these two WF's  separately. the normal expense Report WF would be a first step. And  in auto-posting WF I could just build  a conditional decision -pick up all reports with status "approved".

Two problems here: 1)conditional decision needs two outcomes - for true and false. I don't know what WF should do in case "false".

2)the Auto-posting WF Returns no Errors, but it doesn't post anything.

if anybody know how to build this automated Task (without customizing in Code or AOT), i would be very greatfull.

or is a Batch Job the simpliest solution?

*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