I am currently trying to implement Agent Arguments in the “Run Agent” Activity in studio however facing this issue:
I have assigned these variables in the studio workflow:
BusinessName(str)
BusinessAddress(str)
In my agent I have the same Input Arguments in the data manager panel as string inputs.
However In my studio workflow it throws an error. But in another workflow it shows no errors. (see image below)
Anil_G
(Anil Gorthi)
September 29, 2025, 3:47pm
2
@ashton.lalchan
if you are latest version then you can just click on refresh arguments or use run jobs where you dont need to specify in json as well
cheers
Hi I am on 24.10.8. @Anil_G
To my knowledge, Arguments should be there in 24.10 versions but I do not see that.
Anil_G
(Anil Gorthi)
September 29, 2025, 3:52pm
4
@ashton.lalchan
you would need more latest version for arguments to come..till then follow below
also if you increase the system packages versions you can use run jobs
cheers
Thanks @Anil_G ,
Can you specify what the functions are for though?
I figured my vb is correct with the dictionary creation.
In the example provided, it gives a vb function “Email_Rewriter_Input()”, but for my use-case I am just using inputs to my agents as “BusinessName” and “BusinessAddress”
@Anil_G the format that I have used is:
New Dictionary(Of String, Object) From {
{“BusinessName”, BusinessName},
{“BusinessAddress”, BusinessAddress}
}
but this fails with that error.
Anil_G
(Anil Gorthi)
September 29, 2025, 4:08pm
8
@ashton.lalchan
the format needs to be
New <Agentname>_Input with {
.ArgumentName = "value",
.Argument2="value2"
}
cheers