Email: info@zenconix.com

SHAREPOINT 2013 WORKFLOW- LookupWorkflowContextProperty

Published on: 01/16/15 6:08 PM

Category:SharePoint 2013 Workflow Tags: , , , ,

We have seen how to use LookUpSpListItem in last post here. Now we will see how to use LookupWorkflowContextProperty activity.

Use of LookupWorkflowContextProperty is to get properties of the workflow.

We can have following properties of the workflow

  1. Associator
  2. Initiator
  3. Association Name
  4. Instance ID
  5. Current Site Url
  6. Current Item Url
  7. List Name
  8. List Id

workflowContextProperty

We will see how to print site url now

Just set the Variable,

siteUrl

To print site url, take writeToHistory activity, print siteUrl there. You will get following url

result-workflowContextProp

I hope, this post might help you.

ENJOY SharePoint 2013 workflows


Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

This form can not be rendered.

I am working with Workflow in SharePoint 2013, I got unexpected error today while creating association form. Error was, Solution: After searching it on internet I got to know that “State Services” was not started. So I have started it from central admin .   And now forms are rendering  

Error occurred in deployment step ‘Activate Features’: System.TimeoutException- while deploying SharePoint 2013 workflows

While deploying workflow an error occured, that Error occurred in deployment step ‘Activate Features’: System.TimeoutException When I see in output window the explaination was Error occurred in deployment step ‘Activate Features’: System.TimeoutException: The HTTP request has timed out after 20000 milliseconds. —> System.Net.WebException: The request was aborted: The request was cance   After searching it I […]

Workflow not completed, Canceled automatically

After completing configuration of the workflow, I have created simple test workflow, but workflow shows an error, that “Error Occured” and when I see the workflow status, It shows that workflow canceled, I confused and added 2-3 new items in list, still same error. Then I also tried for another lists and applied workflow, but […]