Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Automatically set BPF active stage based on case status reason

$
0
0

Hi CRM World,

I am facing an issue with BPF. We have 3 status reasons: Progress, pending and resolved and we have 3 BPF stages respectively. I am writing java script on form load event so that based on the status reason i need to automatically change to respective BPF stage. 

1. movenext() and moveprevious() works fine only when case is active. If case is resolved my java scripts throws an error. How to overcome this issue for resolved case. Tried using WebAPI calls inside java script, but still failed.

2. If i want to directly move from 1st BPF stage to 3rd BPF stage i am moving 2 movenext() consecutive statements. But only one of them is working (and to my surprise first statement returns invalid and next statement works fine). Is there any other way to achieve this?

Thanks in advance 


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>