Skip to Content

Passing in Two Values - From Database pass

I'm trying to pass two values from my source on a From Database pass so a script can evaluate the two. Here's a screenshot that doesn't work but shows what I'm trying to do. Any ideas how to make this work y'all?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    May 04, 2016 at 07:38 PM

    LOL... Did a search and I knew this problem seemed familiar. This was an issue I had before that was solved under my old SCN ID.

    Add comment
    10|10000 characters needed characters exceeded

  • May 04, 2016 at 07:05 PM

    Hello Brandon,

    can you elaborate on the "doesn't work" part? Do you get errors? Nothing?

    Regards,

    Steffi.

    Add comment
    10|10000 characters needed characters exceeded

  • May 04, 2016 at 07:08 PM

    Brandon,

    I'm not having any trouble doing this in a From or To database pass.

    In general you need to pass the two values in the same line with some sort of delimiter - Error_Message!!TaskStatus

    Then in your script process it as

    val = Par.split ("!!");

    Then you can reference the parts as an array of val.

    I only tested the populating of the attribute, I did not try the script part.  However I seem to recall an issue with scripts and From Database passes.  I'll take a more detailed look.

    Matt

    Add comment
    10|10000 characters needed characters exceeded