This might be my solution. I have tried and found out that the plugin has to get the data from database first then convert it. This might take time to do a search and cause slower workflow. I’m trying to work around to grab data from input and convert it straight away.
I think I’ve made it. But not the real solution I am looking for.
I misunderstood the plugin concept. My input was A, B, C from a text filed type and this didn’t work. So I tried to use the input from ‘a list of thing’ field type and it worked. I think the name of the plugin reflects the function itself but I just overlooked
Correct me if I’m wrong.
Is there anyway that I can add “…” to each individually value in the text field? The result of text field is from a search with both constraints and intersects from database. So it writes each result with a comma at the end of each value.
Now the problem is when I search and write the values as a ‘list of thing’, it still does not write values as a list, it writes the same as a normal text field. (I suppose it will add the list when values are added at different times, not a one time search).
This “list of thing” that works. I manually make a list.
Anyway, here is what you asked. I made both kinds of fields but I don’t know why they look the same in the debugger? But only the result from a list of thing works the way I want.
PS. The reason behind all of these because I want to store values without “…” and will convert them with having “…” just for sending this notification API only.
If there’s no way I can do this I may have to go back to storing values with “…” way.
I think you’re misreading the documentation for your API. But, even if so, you can easily append strings to items in a list with the “:join with” operator. Go play around with that.
Let us say that “some_list” is a list of texts like so:
[“Keith”, “is”, “your”, “friend”]
Printing some_list to a text element will yield:
Keith, is, your, friend
The commas are just the default join.
Want to see ellipses between every word? That’s just:
If I understood correctly, your “A, B, C” is a simple string/text.
You need to use a list for that field. For instance, [ A, B, C ]
If you want to store it as a simple string, try to split it by “,”
It’s a LINE messaging API, a common chat app in Asia. The ‘Send multicast message’ API requires each userID with “…”. (Array of strings) Here’s the document
I have found a solution (bad solution) by storing each userId with “…”. So when I search users and found more than one users, it will go like this (and the API works)
So, you just configure your API Connector field so that it looks like:
[“<your variable>“]
You’re going to type the bracket and first double quote and then insert the token for the variable part and then type the second double quote and close bracket.
Now, when you do your data call, you do put in the dynamic data field:
That_list_of_recipients:join with ...”, “
And then your API call argument will be in the format you need. Looking like: