Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it a virtual function "remove" bug? Confiforms

Piotr Gugnowski July 27, 2023

Hey i tried using .remove to get rid of certain valie from smart multiselect field and I think I encountered a bug or I don't know how to use it.

 

x=[entry.y.x.transform(id).remove([entry.id])] inside ifttt integration rule works differently depending on object with id equal [entry.id] position.

If it is inner value of smart multiselect field it removes from x everything besides that object.

 

If it is the last element in smart multiselect field it works properly and removes intended object.

@Alex Medved _ConfiForms_

1 answer

0 votes
Alex Medved _ConfiForms_
Community Champion
July 27, 2023

When you give a dynamically evaluated parameter (expression) to any function it's result depends on the context. 

Meaning that it is evaluated agains the object currently in the context. In your case it is the "x" object, as this is where you are at when you navigate through the objects tree

Alex

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events