Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Custom Workflow on Tra...
Finance forum
Answered

Custom Workflow on Trade agreement journal

Posted on by 99
Hi,
 
I am trying to add custom workflow on trade agreement journals (PriceDiscAdmTable)
 
Trade agreement journal workflow i am mapped the workflow category Module  Sales Order and activated the workflow from Account Receivables workflows but still the workflow button is not showing up on the form, The properties to map the workflow on PriceDiscAdmTable form are all set but still the workflow button is not visible what can i do to get it?
 
can anyone let me know if i need to map my workflow categories to some other module or what should i do to get custom workflows enabled on trade agreement journal? 
How can we see workflow button on the form, the properties are set to enable the workflow, and workFlow type is passed but can't see it on form, how do i get these?
 
Thanks
  • Verified answer
    CU02071804-0 Profile Picture
    CU02071804-0 99 on at
    Custom Workflow on Trade agreement journal
    Hi,
     
    Thanks everyone for your reply and time but i actually passed the wrong table in my query, 
     
    As to get the workflow the table passed in query which is returned in document class and the table WorkflowDatasource property on form should be same, i corrected it and got it solved.
     
    Thanks
  • Suggested answer
    Waed Ayyad Profile Picture
    Waed Ayyad 3,904 on at
    Custom Workflow on Trade agreement journal
     
    Did you add the canSubmittoWorkflow method on the form or on the table?  also did you set the following properties as shown in the below image:
     
     
    Regards,
    Waed Ayyad
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
     
  • Kevin Xia Profile Picture
    Kevin Xia Microsoft Employee on at
    Custom Workflow on Trade agreement journal
    Hi,
    To enable custom workflows, there are several steps you can check and follow:
    Permissions:
    • Ensure that the user has the necessary permissions to view and interact with the workflow button.
    • Check if any role-based security settings are affecting the visibility of the button.
    Workflow Activation:
    • Confirm that the workflow has been activated from the Account Receivables workflows.
    • Check if the workflow is in an "Active" state, as inactive workflows won't trigger the appearance of the workflow button.
    Best regards,
    Kevin
  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 288,584 Super User on at
    Custom Workflow on Trade agreement journal
    Hi Community user, 

    Did you add coding in a method canSubmitToWorkflow() for this form?

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,584 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,864 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans