Function Reference > System variables > CurrentRunId
  

CurrentRunId

Each task run has a unique ID. CurrentRunId returns the system generated run ID for the mapping task as a string value. Use CurrentRunId with any function that accepts string datatypes.