RPC : pass multiple values

Avatar
  • updated
  • Under review

Hi - I'm looking to pass multiple values to RPC in one call. Can we add multiple SetVelue in the JSON call ?


Alternatively (1), is it possible to send one value and split it later on ?

Alternatively (2), is it possible in a Program to us "contains" operator when evaluating a value in a IF statement ?

Thank you

Avatar
ComfortClick Support
  • Under review

Hello,

unfortunately this isn't possible at this moment. It could be a good addition to our RPC connection and API so we'll add it to our pipeline and try to release it with future updates.

Best regards.

Avatar
Ricardo Pinto

Hi,

I've tried to pass multiple values by trying to use an array to send multiple "key":"value" pairs, but without any luck.

Something like this:

[{"objectName":"Tasks\\rpc\\V1","valueName":"Value","value":"true"},{"objectName":"Tasks\\rpc\\V2","valueName":"Value","value":"false"},{"objectName":"Tasks\\rpc\\V3","valueName":"Value","value":"true"}]

Don't know if it's supported. Let's wait for bOS team to answer that.

Best regards