cancel
Showing results for 
Search instead for 
Did you mean: 

Agentry Syclo WM 5.3 : Update rule for finding string from all Work order long text

Former Member
0 Kudos

Hello All , I have written Update in Rule in Syclo Agentry to find string from whole text like my requirement is Ex : Workorder Notes contain few lines like test order order has 3 operation http://www.google.com so , Here ,  i want to find only http://www.google.com from whole text and display in iPad workorder Notes screen . I have used "collection_find_by_str" but its not working as expected . for more information please find update rule screen shot . can you provide more suggestion here ? Thanks & Regards,   Kunal Varaiya

Accepted Solutions (0)

Answers (1)

Answers (1)

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

Kunal,

You will want to use @FIND instead of @COLLECTION_FIND_BY_STR.  @FIND will search for text within a string while the other one will search a collection of objects to find a matching object.

--Bill

Former Member
0 Kudos

Hello Bill , Thanks for reply , i will try and check . can you also guide like ? i have requirement like if any string start from "http:" i have to pick till end  sting like http:\\www.google.com and display in iPad screen . But it will be very for every orders like after http:\\www.xyz.com or  http:\\www.abc.com . can i achieved via @FIND  ? or http:\\* like that . can you provide some suggestion here ? Thanks & Regards, Kunal Varaiya

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

I think it will be possible.  You will have to use multiple calls to @FIND.  The first to find the position of http:\\ and then a second call to find the first space after the https to then know the length of the string to extract out using @MID.

--Bill

Former Member
0 Kudos

Hello Bill , Thanks for your replay ... I will check and update you . Thanks & Regards, Kunal Varaiya

Former Member
0 Kudos

Hello Bill , Thanks for reply ... i can able to find my string but now requirement is found string i want to display in iPad as HTMl field so user can double click on that string and open in new browser . I have attached rule what i have written for it . can you provide more suggestion here ? Thanks & Regards, Kunal Varaiya