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
Something like this ?
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()???
Got it working!!! You can close this topic. I just hope it helps another Bizagi user with a similar question.
//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.
Comments have been locked on this page!