none
convert to LowerCase an attribute RRS feed

  • Question

  • Hello,

    How to convert to LowerCase an attribute and save it in this same attribute in the Update ressource activity,

    Elias

    Tuesday, June 20, 2017 11:02 AM

All replies

  • Please check the MIMWAL wiki for the list of functions available and how to use them.
    Tuesday, June 20, 2017 11:32 AM
    Owner
  • yes i did but i did not found the answer,

    actually they are converting a string in my case i wanted to convert a multi valued attribute

    Tuesday, June 20, 2017 12:01 PM
  • The LowerCase function only expects a single value string, so if the source attribute is multivalued, you'll need to use the Iteration feature of MIMWAL. You can use Iteration to create a temp WorkflowData variable to hold all lower case values and in the next activity do a direct assignment of temp variable with the target attribute.
    Tuesday, June 20, 2017 12:11 PM
    Owner
  • OR
    You could use something like this:
    SpiltString(LowerCase(ConcatenateMultivaluedString([//Target/AMultiValueAttributeX], "|")), "|")  => [//Target/AMultiValueAttributeX]
    Expression not tested, but hopefully you get the idea.
    Tuesday, June 20, 2017 12:21 PM
    Owner