Or another solution can I change the data type of activity (Add to dictionary).
Thank you
@Arabic_Medical_ServiceVTN
Welcome to the forum
there are some issues / confusions onthis part caused by different reasons
Instead add to dictionary you can do:
Assign Activity
YourDictVar(YourKey) = YourValue