Jump to content

promote POP parmeter to SOP OTL


Recommended Posts

Hi,

I have an SOP OTL which has a popnet inside. The popnet has a group POP and I am trying to promote the "rule" parameter to the UI in SOPs. When I do this, it complains of a syntax error. This is the channel reference it creates in the "rule" parameter when I promote it to the OTL UI.

`chs("../../rule")`

When I put anything in the newly created OTL parameter it complains with an error, Syntax Error.

I have tried these different entries

$AGE > 1

`$AGE > 1`

`point("../myOtl", $ID, "life", 0) > 1`

and a few others. Not sure how I can get around this issue. Any suggestions would be great!

Thanks!

Link to comment
Share on other sites

hmmm, I would have thought that too but still no good.

I just tried created a spare string parameter on the Group POP and referenced it in the "rule" parameter and it didnt like it either, so it doesnt seem to be a POP<>SOP issue.

Link to comment
Share on other sites

hmmm, I would have thought that too but still no good.

I just tried created a spare string parameter on the Group POP and referenced it in the "rule" parameter and it didnt like it either, so it doesnt seem to be a POP<>SOP issue.

Actually, I am wrong on that. It works fine if I do it within POPs. It just doesnt like it if I try to promote it to the SOP level. It gives me this error

Channel Evaluation Error  Bad data type for function or operation

So im still stuck with my original problem.

Link to comment
Share on other sites

Actually, I am wrong on that. It works fine if I do it within POPs. It just doesnt like it if I try to promote it to the SOP level. It gives me this error

Channel Evaluation Error  Bad data type for function or operation

So im still stuck with my original problem.

FYI, I manged to sort out the issue. the eval() expression without backticks did the trick.

eval(chsraw("../../rule"))

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...