BPM Workflow Designer syntax error on abc field

Hi,

We are in the process of upgrading from Epicor 10 to Kinetic 2022.

Most of this is going well, however, one of our data directives has not ported over correctly.

It is a conditional email alert based upon the company it was generated within (we have several companied within our DB)

The data directive screen now says “Outdated” in red.

When looking at the build, it appears that it does not like the company identifier HPL in this case.

I have tries using double quotes “HPL”, single quotes ‘HPL’, double double quotes “”HPL””, double single quotes ‘ ’HPL’ ’ and no quotes around the company Id, but still get syntax errors.

Can anyone please advise how to fix this error (see screen shot for more info).

Thank you.

You will need .NET 6.0 installed on your workstation for BPM work:

Quick questions

  1. Need just NET 6.0 or the .NET 6.0 SDK?
  2. If you need the SDK installed, is it for the BPM to process, or for the workstation to be able to edit/create the BPM?

Hi Guys, Thanks for the super quick responses. I thought I had .net instaled, but downloaded and installed .net 6.0 SDK and still have the issue.
Other BPM’s work, it just will not accept the the comapny filed is text and allow me to set the condition based on the text value HPL
Any other pointers?
Thanks.

What is that C# expression for?

Obviously you’re returning a string, but what is it being assigned to or used for?

Hi Calvin,
We have three companies set up within our database, the company identifyers being HPL, PCL and HPR. The code is from a BPM ‘condition’ element, if the result is for one company, send an email to one person, the other comany, a different person.
For some reason, on my workstation, it would not accept the syntax “HPL”.
However, when making the changes direclty on our Kinetic server, this works!
So, as a work around, I am now doing any BPM design on the Kinetic server.

FYI, I have attached an image of where the ‘condition’ is nested.

Thanks,
Stuart.

Just curious @stuartjohnson - did the expression editor accept the other company ID’s? Maybe HPL triggers some sort of reserved word. I wonder if the following or something like it would work.

"H"+"PL"

Note: my syntax might not be correct. Just more or less an example of breaking it up so not to be a single occurrence of HPL

Hi Calvin,

I found the issue was with my stations’ setup – I needed an updated .net6, once installed (and re-booted), the input was accepted.

Thanks,

Stuart.

1 Like