Question

Pass value to resource

  • 24 June 2020
  • 1 reply
  • 426 views

Hi,

Lets assume that I have a trigger, trigger have a input field:

{
key: 'table_id',
label: 'Table',
required: true,
dynamic: 'tableList.id.name'
}

And basically, there is no other field for this trigger, I’m trying to figure out how to pass to the Table resource a value from this trigger, fe:

{ key: ‘value’ }

I’ve tried it like this:

(z: ZObject, bundle: Bundle) => bundle.inputData.key = 'value',
{
key: 'table_id',
label: 'Table',
required: true,
dynamic: 'tableList.id.name'
}

but without luck, operation.perform from table resource had empty bundle.inputData. Also tried computed input field does not hide from user, so this is also not an option to pass value like this.

 

I need help, thanks in advance for any tips.


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 7
Badge +8

Hi @pczekaj - Thank you for your question! So that we can get you the right type of support, we kindly ask that you direct all developer support questions to our Support team directly: http://zpr.io/t4NNK - This helps us get an accurate capture of your account details so that we may assist you quickly. Thank you for understanding!