From this
to this one
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 ) ?
Thanks
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.
Can i activate more than one workflow in the same 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.
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
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.
André Arnaud de Cal...
291,969
Super User 2025 Season 1
Martin Dráb
230,842
Most Valuable Professional
nmaenpaa
101,156