BPM Question

We have added 3 new fields to the order detail screen that need to have data entered prior to saving. I have coded for this in a BPM. However, when we enter a configured part number and press on the configuration button, if using “Raise Exception” it will hit the exception and then delete the line, and you have to start all over again. If I use “Show Message” it will show the message and then bring up the configuration screen and once you save the configuration screen it goes back to the line screen, and all is filed. If we don’t remember to enter the required fields there is nothing stopping us now because everything has been filed.

Has anyone ran accross this before? Is there something I’m doing wrong?

1 Like

Use Extended Properties to make the fields required instead of using your BPM.

image

2 Likes

You are going to have to make two bpms One for configured and one for parts. In your message see what CallContextClient.AssemblyName has for a value in both scenarios.

Then you can set a condition for the bpm to fire only for non configured parts where you have it and make another one for after the configuration has been completed.

1 Like

To add on to @hackaphreaka’s answer, you can also mark the fields as required inside of Application Studio, although if you set up the EpBinding correctly, then I think it might automatically know that it should mark those as required.