Finding a weird issue where if a user just logs into MES (ie user hasn’t clicked ‘Log In’) and they call the Custom BPM Form; all of the customizations are not available. This causes an issue downstream as the customization is where data validation occurs.
What’s the BPM look like? Tat’s interesting that unless they are clocked in it would show the non customized BPM form. Any logic in the BPM looking for Emp ID on the session?
Naw thats just the base info prompt form. It shouldn’t be an issue. I don’t see EmpID or EmployeeNum referred to in the code of the customization, anywhere in the BPM?
It’s possible your Get Employees should be moved to Form_Shown or some other event than Form_Load?
I commented out the code on the custom form; still didn’t get loaded. The custom buttons and what not didn’t even come up. Its like the custom BPM Form is never even loading…
So all your employees have actual usernames? Otherwise if you are in as a generic user and switching employees unless they are logged in there shouldn’t be an employee id.
Stepping back for a moment, why not apply a row rule to disable the button unless they are logged in. Or use initalize epidataview, no dataview row no button enabled.
Think you have something there. Quality users might need to do another step, but if it fixes the issue that might be it. Granted it is still strange for the Customized BPM Form to not show.