Hi All,
How can we run two different business process flows for two different forms of an entity in Dynamics CRM?
Any help is appreciated.
*This post is locked for comments
Can we go the other way? Is there a way to change the form based on business process flow steps?
hello Nithya,
try this
function onload() {
debugger;
var formName = Xrm.Page.ui.formSelector.getCurrentItem().getLabel();
if (formName == "Opportunity") {
Xrm.Page.getAttribute("processid").setValue("678714CE-EB55-4E69-A6C5-D74B0CBA0B4F");
}
else if (formName == "opty") {
Xrm.Page.getAttribute("processid").setValue("E531C0DE-813D-489A-BCE6-55F326BF1D80");
}
window.location.reload(true);
}
Hi Scott,
Thanks for the reply. But I need to perform two BPF for two forms. Is it possible using Javascript code added on-load of the form?
There is currently no link between forms and process flows. You would need to limit using role based forms and limit each bpf to the corresponding security role.
See - msdn.microsoft.com/.../gg334717.aspx
And
www.microsoft.com/.../assign-a-security-role-to-a-business-process-flow.aspx
Hope this helps
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156