For your problem you have two option
- one is. you had 250 workflow rights?..For that 250 workflow u have to give name right… i hope u gaved the proper state name for 250 workflow.
if you will extracted state name from paragraph then… just store a variable. think like the variable name as State Name. Just use one invoke workflow …Path as ur path+stateName(variable name)+.xaml ex: “C:”+StateName+".xaml"
Using For each Method
1.Put All 250 State name in one key Value in Config file(separated by comma)
ex: keyname is “StateNames” Value is (Tn,kerala,…etc)
2.Read the particular key Split based on comma and then assign as Array
3.put for each activity in Value field put Array variable. Set type as String
4. inside for each put if condition, the condition is urStringvariable(which is extracted from paragraph).contains(item.tostring)
- then part just use invoke workflow activity in that give normal path+item.tostring+".xaml"
i hope it make u clear