Tuesday
Hello!
In a Blue Prism object, I have the name of a Data Item stored as text in a collection. How can I retrieve the value of this Data Item dynamically based on the text (the name) stored in the collection?
Thanks for answer!
Thursday
Hello @Nandhakumar ,
Yes, I have a logic that retrieves the inputs and outputs of a method. Based on the names of these parameters, I aim to obtain their values, if they exist.
Best Regards,
Ewelina
Friday
Hi @EwelinaFHlag ,
Okay, in that case i have couple of queries, please help to answer.
1. The output data items names are dynamic, so approx how many data items that you have in the process which are to red by this logic?
2. If too many data items, why cant we change that logic to store the field values into a json?
i.e particular stage provides output and storing it in a dynamic field, can you modify that output to be a json format like "valid": "TRUE", "Result":"Test". so that the json format values can be converted into collection easily and you can just 1filter the field name to check it has values
correct me if my understanding about the issue is wrong?
Thanks,
Nandha
Friday
Hello @Nandhakumar !
The logic needs to read all inputs and outputs for the given action in the Business Object.
This part is already in place — I can retrieve the parameters, including their names and direction, meaning whether they are inputs or outputs. Since each action has a different number of inputs and outputs, there is no fixed number.
My goal is to serialize these data items, but the first step is to retrieve their values, and that's where I'm encountering an issue.
The core problem is: how can I obtain the value of a data item or collection when I only have their names?