This activity checks whether workflow is running on a list item and stores result in a variable.

Parameters
Input parameters
| Parameter | Description | Example |
| This workflow | Workflow name which you want to check for running status. | Update item workflow |
| Current list item (optional) | List Item ID which workflow status you want to check. If the value not specified, current workflow contextitem will be used. | [%Variable:ItemID%], Current Item:ID |
| current list (optional) | Title or Url of list whichworkflow status you want to check. If the value is not | Tasks[%Workflow Context:List Name%]/Lists/ Tasks |
| specified, current workflow context list will be used. | ||
| SiteURL (optional) | The URL of a source SharePoint site which workflow status you want to check. If the value field is empty, current site will beused. | https://contoso/SiteUrl; https://contoso/Sites/SiteUrl;[%Workflow Context:Current Site URL%]/subSite |
| Variable (set by this activity) | After successful workflow execution contains flag whether workflow isrunning on list item or not. |
Example
