Navigation

    OpenIAP

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Cannot convert object [] to type 'System.String'

    General Discussion
    2
    4
    36
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      Koki Kameda last edited by

      hi,
      One thing I don't understand about the OPEN RPA
      If you have a solution, I would appreciate it.

      ※Prerequisite.
      1.All Excel values are numeric type
      db08b36a-2216-4c24-a345-0089b16e2f6c-image.png

      2.read range's setting
      dt1=Variable
      スクリーンショット 2022-04-23 225133.png

      3.Variable state
      dt1=datatable
      スクリーンショット 2022-04-23 231755.png

      ※What I want to solve
      ・Running Foreach DataRow

      ※What I tried
      Changing Data Types in Excel

      If I run the workflow in this state, I get an error ”Cannot convert object [] to type 'System.String”
      How can I solve this?

      Allan Zimmermann 1 Reply Last reply Reply Quote 0
      • Allan Zimmermann
        Allan Zimmermann @Koki Kameda last edited by

        @koki-kameda removethe create datatable. That is not needed, get range will create a datatable
        Where is the error? Either show where you are using an object if type object[] or share an example workflow

        K 1 Reply Last reply Reply Quote 0
        • K
          Koki Kameda @Allan Zimmermann last edited by

          @allan-zimmermann
          Thank you very much.
          Create datatable has been removed.
          I will share a screenshot of the workflow until the error occurs.

          Error Location
          "ForEach data Row".

          The OPEN URL in the first row of the ForEach data Row does not work
          スクリーンショット 2022-04-25 084540.png

          Allan Zimmermann 1 Reply Last reply Reply Quote 0
          • Allan Zimmermann
            Allan Zimmermann @Koki Kameda last edited by

            Export the workflow and upload it, if you want help. Screenshots does not explain the issue in your workflow

            1 Reply Last reply Reply Quote 0
            • First post
              Last post