How to get error line number or error sequence line number in workflow

How to get error line number or error sequence line number in workflow?
How to use argument variables in invoke code ? Invoke code not able to access arguments, it can only access from variable section?

When you update the code, it will tell you how many of “lines” to subtract from error messages to find the line number ( this number will change depending on the amount of variables and imported namespaces )
All variables in the workflow is accessible from within Invoke code. Arguments are not, so you need to assign those outside invoke code.