updating workflow variable step code

updating workflow variable step code