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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Automated submission of specific journals to workflow

(3) ShareShare
ReportReport
Posted on by 233
Hello,
 
I have several journals, made up using 3 journal names, that are created by a logic app integration job from our payroll solution.
 
Is it possible for these journals to be submitted automatically after they are created?
 
Thanks,
Michael
Categories:
I have the same question (0)
  • Suggested answer
    Adis Profile Picture
    6,602 Super User 2026 Season 1 on at
    Hi,
     
    There are only automatic actions in a workflow to approve or reject the workflow when certain conditions are met.
     
     
     
     
     
    However, there is no option to submit it automatically when the object, i.e. journal is created - it usually doesnt make sense to submit it right after it was created.
     
    In order to meet your requirements, I would check out the following approaches:
     
    • Use a Business event to trigger a Power automate (PA) flow that submits a workflow. Could look something like the following. Business event needs to be developed and most likely an entity, so that you can submit the workflow with PA.
    • A very similar solution is to use the dataverse connection to achieve this instead of the FinOps connector. You dont need a business event then. The PA flow would be triggered as soon as a new row in dataverse is added, i.e. a journal is created with certain conditions as you dont want to submit workflows for every journal. In case there is a virtual entity that supports submitting a workflow its fine, otherwise you need to create one.
    • A different approach is to develop a setup somewhere in the parameters, f.e. General ledger parameters where you can add journals. Whenever a journal is created a workflow is being submitted by x++ code.
     

    Kind regards, Adis

     

    If this helped, please mark it as "Verified" for others facing the same issue

    Keep in mind that it is possible to mark more than one answer as verified

  • Sohaib Cheema Profile Picture
    49,677 Super User 2026 Season 1 on at
    Hi,
     

    Automatic submission is not available on the journals' workflows.
     
    The only place where Microsoft has added automated submission to workflow in the past few years is the Vendor Invoice workflow, which is not journals.
     
    Customization would be needed to get this done (automatic submission of journals), 
     
  • Suggested answer
    CA Neeraj Kumar Profile Picture
    5,099 Super User 2026 Season 1 on at
     
    By standard, there is nothing available to do the auto-submission of workflow for journals as already mentioned by @Sohaib Cheema and @Adis.
    You can consider X++ customization with help of given article, with more specific parameters on journal.
     
     
    If this helped, please mark it as "Verified" for others facing the same issue Keep in mind that it is possible to mark more than one answer as verified
     
    Regards,
    Neeraj Kumar
  • Suggested answer
    Syed Haris Shah Profile Picture
    1,613 Super User 2026 Season 1 on at
     
    Unfortunately, there is no standard feature to submit workflow automatically. You need to consider option suggested by other experts.
     
     
    If you find this answer helpful, please consider verifying the answer. 👍
     
    Regards,
    Syed Haris Shah
  • Suggested answer
    Sagar121 Profile Picture
    1,190 Super User 2026 Season 1 on at

    Hi,

    Since you are creating journals from Logic App, you will most likely be using a data entity.
    You can take inspiration from the sample code below. Please note that this will always auto-submit the workflow for these three journals.

    If you need to differentiate between records created via data entity and those created from the standard UI, you should add conditions in the code.

    In this example, taken buffer of LedgerJournalTable buffer, but you can simply use this.

     

    [ExtensionOf(tableStr(LedgerJournalTable))]



    final class LedgerJournalTable_Table_Extension



    {



        public void insert()

        {



            LedgerJournalTable ledgerJournalTable = this;

     

           next insert();

     

            ttsbegin;

     

            if(ledgerJournalTable.JournalName == ‘JournalNmae’))// add other 2 journals name here



            {



                Workflow::activateFromWorkflowType(workflowTypeStr('LedgerDailyTemplate'), ledgerJournalTable.RecId, 'auto submitted', NoYes::No, curUserId());



                ledgerJournalTable.WorkflowApprovalStatus = LedgerJournalWFApprovalStatus::Submitted;



                ledgerJournalTable.update();



            }



            ttscommit;

     

    }

     

    }

     

     

     
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    303,995 Super User 2026 Season 1 on at
    Hi Michael, 
     
    You got several suggestions. Did you find your solution?
     
    I would not go for the solution from Sagar as that will directly submit the workflow when creating the journal header, without any lines added.
     
    In case you need to customize the data entity, and still need help, you can read my blog on the option to execute an action. Then you can add an action in your Logic Apps to call the workflow submission after creating all the lines. 
     
    Note that next to the Fin & Ops connector, you can also use the Dataverse connector to execute the action.
     
  • MBates237 Profile Picture
    233 on at
    @André Arnaud de Calavon Thank you for the links, I will check them out. I agree on your reservations, submitting it straight away would mean no lines exist. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 653

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 463 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 308 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans