Blue Prism - Issue with setting parameters using C#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-01-24 01:14 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-01-24 02:34 PM
Hi varinda,
You already defined UserCapacity data item as a number in input parameter
if you want to pass that in the code stage then you can do some thing like below
int userCapacity = Convert.ToInt32(UserCapacity)
You can try with out quotes since UserCapacity is defined as input parameter.
If I answered your query. Please mark it as the Best Answer
Harish Mogulluri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-01-24 02:56 PM
Hi Harish,
I can do it for number variable.
However, for collection, I cannot convert type from DataType to List. Hence, the issue.
List<Dictionary<string, object>> existingTasksData = (List<Dictionary<string, object>>)GlobalContext.GetParameter("ExistingTasks");
