Hi All,
My question is related to USD Data parameters and Return parameters in particular.
As we already know, whenever a function is fired and the returned value is stored inside Return Data parameters inside USD.
I have a scenario where a loop is working and it fires a dynamic function and stores value against it inside my return parameters.
Now, lets assume my dynamic function as per the loop will be fired twice and it is picking up some value from the page and storing it in return parameter (which will be used for future). So for example in my first iteration , firstname is picked from the page and stored in return parameter as abc. perfect till here. But, lets assume when my second iteration happens and it searches for lastname in the page and lastname is null or empty, then in my return it should update the return parameter as null (which has previously my firstname) but instead it is not making it null. It is keeping the last returned value whereas i want to update it with whatever value is being return.
Is there any possible way to do it? How can I clean my return parameter or make it null everytime a null or empty string is returned?