Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Answered

How can i change the name of workflow menuitem after visibility in Form

(0) ShareShare
ReportReport
Posted on by 32

From this 

6567.pastedimage1678787200310v1.png

to this one 

0647.pastedimage1678787251775v2.png

 question 2 : 

how can i enable and disable this button with condition (user can't submit a request to workflow without this condition) ?

last question how can i customize the reject dialog ( add enum base with the comment given by the standard ) ?

2727.pastedimage1678787598365v3.png

Thanks 

  • Suggested answer
    GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    RE: How can i change the name of workflow menuitem after visibility in Form

    I think you cannot use more than one workflow for a form. You can switch workflows at runtime. You can refer to LedgerJournalTable form where the workflow is assigned at runtime. Refer to the method "loadWorkflowConfiguration". So, you can point out the type of workflows to be used at runtime but you cannot use two workflows in a form.

    Thanks,

    Girish S.

  • OBarka Profile Picture
    OBarka 32 on at
    RE: How can i change the name of workflow menuitem after visibility in Form

    Can i activate more than one workflow in the same Form ?

  • Verified answer
    GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    RE: How can i change the name of workflow menuitem after visibility in Form

    Is this a custom or standard form?

    Navigate to form - On the form Design there will be workflow type property - Find that and navigate to that workflow type in application explorer - On the workflow type property - There will be "Submit to workflow menu item" - Navigate to that menu item and change the label.

    Thanks,

    Girish S.

  • OBarka Profile Picture
    OBarka 32 on at
    RE: How can i change the name of workflow menuitem after visibility in Form

    There will be menu item for submit to workflow which will be automatically created while creating workflow. You can change that menu item label.

    => i can't find it in the form where i will change the label have you any idea ?

    thanks

  • Verified answer
    GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    RE: How can i change the name of workflow menuitem after visibility in Form

    Hi Obarka,

    There will be menu item for submit to workflow which will be automatically created while creating workflow. You can change that menu item label.

    For the second question you can add your condition on canSubmitToWorkflow method - This method will tell the system when to enable the workflow Submit button.

    For the last question I think it's not possible. You can do a R&D and check whether it's possible. From my knowledge it's not possible, I guess.

    Thanks,

    Girish S.

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

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,969 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,842 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans