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 :
Small and medium business | Business Central, N...
Suggested Answer

Issue in Enabling power-automate with business central on General Journal page

(0) ShareShare
ReportReport
Posted on by 10

0160.Capture.PNG6708.Capture1.PNG8156.Capture3.PNG 

I made an action button in the general journal page and tried connecting it to power automate flow with the help of a custom action property in AL code. I followed Yun zhu article step by step till the end but the action button is still greyed out. I didn't add any manual trigger in the flow but the issue still persists.I cannot find the issue in the automate or the code part. Please help me out

I have the same question (0)
  • Yashovardhan Jain Profile Picture
    10 on at

    Not able to find the issue

  • Suggested answer
    Ramiz Profile Picture
    597 on at

    Hi Yashovardhan Jain 

    Try creating the flow from here. I created it and works for me.

    pastedimage1684145064052v3.png

  • Yashovardhan Jain Profile Picture
    10 on at

    Thanks, it works. Its working for me from there but I want to know why it's not working from the coding part, do you have any idea about it? It would be more helpful.

  • Suggested answer
    Ramiz Profile Picture
    597 on at

    Hi Yashoda Thakur 

    I created a flow and added this code in the page extension and works for me. Instead of CustomActionType = Flow I put FlowTemplate and it works fine.

    In order to use FlowTemplate your app runtime must be greater than 10.0

    pastedimage1684213002267v2.png

    pastedimage1684212830909v1.png

    customaction(HRIntegration)
    {
      Caption = 'Import Payroll';
      CustomActionType = FlowTemplate;
      FlowTemplateId = 'abc.......';
    }
  • Suggested answer
    Yashovardhan Jain Profile Picture
    10 on at

    Thanks, but is there any way that it can work for runtive version 10.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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,132

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 675 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 665 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans