Simple sequence for checking if workflow arguments are null

Hi,

I’d like to create a sequence for checking/logging the workflow arguments. All I need is a dictionary that contains the arguments names and values. Is it possible to get this dictionary?

How can I make a request for this feature if is not available?

Thank you!

CheckArguments.xaml (6.1 KB)

2 Likes

@Victor_Stanescu You don’t need to go for dictionary If you just want to validate the input argument as Nothing
In Each argument property set the IsRequired checked and thats all
image

3 Likes

I’d also like to check some other things. This happens very often in my workflows. For example empty arguments.
Thank you for your answer, @Arpit_Kesharwani

@Victor_Stanescu Do you want to get the dictionary of arguments and their value dynamically?

Yes. If I add an argument, I want the dictionary to be updated.

For instance, in Python you have something like:

def foo(a, b, c):
    print locals()

>>> foo(1, 2, 3)
{'a': 1, 'c': 3, 'b': 2}

@Victor_Stanescu I also searched across the forum and didn’t find any relevant information regarding the dynamic access of arguments.:sweat: