I have a BPF and it's last step is to change the status reason from Planning to Scheduled. I've tried setting it:
xrmApp.BusinessProcessFlow.SetValue(new OptionSet() { Name = "statuscode", Value = "Scheduled" });
When I inspect the element, it's not an option set but rather a combobox/picklist
statuscode.fieldControl-pickliststatus-comboBox_text-value
I have a BPF and it's last step is to change the status reason from Planning to Scheduled. I've tried setting it: xrmApp.BusinessProcessFlow.SetValue(new OptionSet() { Name = "statuscode", Value = "Scheduled" }); When I inspect the element, it's not an option set but rather a combobox/picklist statuscode.fieldControl-pickliststatus-comboBox_text-value
Is there a different approach?