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

  • Suggested answer
    Yashovardhan Jain Profile Picture
    10 on at
    RE: Issue in Enabling power-automate with business central on General Journal page

    Thanks, but is there any way that it can work for runtive version 10.0? 

  • Suggested answer
    Ramiz Profile Picture
    538 on at
    RE: Issue in Enabling power-automate with business central on General Journal page

    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.......';
    }
  • Yashovardhan Jain Profile Picture
    10 on at
    RE: Issue in Enabling power-automate with business central on General Journal page

    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
    538 on at
    RE: Issue in Enabling power-automate with business central on General Journal page

    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
    RE: Issue in Enabling power-automate with business central on General Journal page

    Not able to find the issue

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,202 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,923 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans