Skip to main content

We are developed K2 for sharepoint workflow which have send email component and we are passing sharepoint item URL in the hyperlink.

how to pass sharepoint site URL dynamically in the K2 for sharepoint workflow. Currently we are hardcoding the site URL.

After deployied the workflow to other environment , we need to open the workflow again and we are changing the site URL again in the send email component.

You will want to create and use an Environment Field, please see the below documentation:

https://help.k2.com/onlinehelp/k2five/userguide/5.0/default.htm#k2_management_site/environment_library/understanding-environment-libraries.htm


Hi,


 


It sounds like the workflow is setup to use some sort of item reference for the site url in the email steps. Maybe you can change the design to use the environment libary field.  When it's time to deploy your solution to target environment via PandD tool, you will be able to update the this field, more information about environment library can be found here: https://help.k2.com/environmentlibrary_whitepaper.aspx


Thank you for the quick response.

Reply