Hoppa till huvudinnehållet

How to test the length of a string in Workflow Designer

Kommentarer

3 kommentarer

  • Permanently deleted user
    Hi Roger, try sManholeID.Length()

     

    Xaml workflows use VB.Net - if you add  "VB.Net" to to a Google search, you can usually find expressions that will work for Workflow.  Eg,  "string length VB.Net" gets good Google results for this question.
    0
  • 0
  • Permanently deleted user
    Thank you both.  I had been searching the internet for how to do this in VBScript, not VB.Net, so your tip was very helpful.  I had also not known about Intellisense.  I had definitely tried pressing Ctrl+Space, without knowing I had to enable something first.  As far as my question goes, there are two expressions that worked as Conditions:

     

    sManholeID.Length() = 6

     

    and

     

    sManholeID.Length = 6

     

    "Roj"

     

     
    0

Du måste logga in om du vill lämna en kommentar.