Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 143529

Updating bpf stage id v9

$
0
0

Hello community,

i'am trying to update the stage of a bpf but getting the error:

Active Stage ID ‘985ad5d7-fda7-4adb-a2c6-d328b9989367’ does not match last Stage ID in Traversed Path ‘38a8cae5-cf4f-414d-b135-a32d0cecbc12’.

Code:

FetchExpression BPFex = new FetchExpression(baseQuery);
EntityCollection e = service.RetrieveMultiple(BPFex);

if(e.Entities.Count>0)
{

foreach (var sa in e.Entities)
{

EntityReference d= sa.GetAttributeValue<EntityReference>("activestageid");
d.Id = myid;
service.Update(sa);


}

thank you


Viewing all articles
Browse latest Browse all 143529

Trending Articles



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