Answered

adding collection items from multiple cases into 1 collection

Hello,

Would it be possible within Bizagi 11 to add collection items from multiple cases in a common collection?

Business scenario: periodically a client delivers data to a business process. Each delivery of data is a new case.

In the process there is timer with a business rule to evaluate which collection item is the first to be processed.

It's like a waiting line. Each case joins the waiting line. The timer's business rules decides which case is next to be processed.

Kind regards

Comments (3)

photo
1

Something like this ?

photo
1

String to Number

OK, I can get rid of the "_" in the string field by the function String.Substring.

// Get rid of "_"

var Yearmonth = <StringToInteger.ImportData.YearMonth>;

var Sub1 = Yearmonth.Substring(0,4);

var Sub2 = Yearmonth.Substring(5,2);

var merge = Sub1+Sub2;

Me.setXPath("StringToInteger.ImportData.JoinedText",merge);

BUT is there a function like Number.toString()? Such as Number.toInteger()???

photo
1

Got it working!!! You can close this topic. I just hope it helps another Bizagi user with a similar question.

104996fc32c8038bb5734b49487f83e0

//Convert from string to integer

<StringToInteger.ImportData.JoinedNumber> = <StringToInteger.ImportData.JoinedText>;

So it possible to equal a integer attribute to a string attribute, as long as the string attribute contains only numbers.