how to get workflow process name when create promotion request
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
how to get workflow process name when create promotion request
how to get workflow process name when create promotion request
such as following picture,
how to get selected workflow name "Error Flow", "PE_Production..." or "RD_CAD_Promotion..."
by API.
thanks in advance.
- Labels:
-
Other
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Check below API if it works.
MaturityHelper.getPromotionPreference(wtContainerReference,targerState);
wtContainerReference-- >> container reference in which promotion request
targerState -- >> Target state for promotables
Hope this helps
Thanks,
Shreyas.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
hi Shreyas,
I can not find API MaturityHelper.getPromotionPreference in 9.1,
could you please provide some example code, Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
where are you planning to use API,
There are two forms which can be used.
below can be used in Wizard.
PromotionRequestHelper.getWorkflowTemplate(FormDataHolder paramFormDataHolder)
second is
PromotionRequestHelper.getWorkflowTemplate(WTContainerRef, State, String)
Here String can be Null or put process name
after that you can used getName(); method.
Hope this will help you.