1 Reply Latest reply: Apr 24, 2013 8:18 AM by Jonathan Hult RSS

    Access comma seperated values form cfg file

    Chely
      i need one idoc script which read these values:

      WorkflowsPattern = workflow_one, workflow_two


      For single value i have used <$#env.WorkflowsPattern$> and this is working fine, what script to use for comma seperated values.


      Thanks
        • 1. Re: Access comma seperated values form cfg file
          Jonathan Hult
          rsMakeFromString: Creates a single-column ResultSet from a string.

          Parameters:

          Takes two required parameters and one optional parameter:

          The first parameter is the name of the ResultSet to be created.

          The second parameter is a comma-delimited list of strings to be parsed (such as a,b,c,d), or a variable that has a comma-delimited string as its value.

          The third optional parameter is the name of the ResultSet column. If no value is specified, the column name defaults to row.

          Output: Creates a ResultSet with one column, populated by the specified string values.

          http://docs.oracle.com/cd/E14571_01/doc.1111/e10726/c08_config_ref255.htm#i1111695

          Jonathan
          http://jonathanhult.com