Skip to main content

Hello Guys,

 

Recently I have added one more flow to my existing process and configured Smartforms client event. I am using K2 Worklist smartobject to fetch the WorkklistItem data from K2 DB and showing that on Dashboard in my application. I have one column in my list view "View/Approve" to which I am attaching hyperlink that is Data property of WorklistItem which contains follwing data

 

data property value: https://nmetdvapp0006/apps/mortgagereceipts/Pages/OpenForm.aspx?_State=sFinance&SerialNo=2621_18&ReceiptRequestID=64

 

Generally we use SmartForm Runtime SSL as Runtime Server URL in  Smartforms client event configuration (last screen of wizard) which contains https://SmartForm Runtime Server URL.

 

SmartForm Runtime Server URL: https://nmetdvapp0006:81/Runtime/Runtime

 

The newly added flow is not working as its using https:// in the URL returned by Data property. And when I click on the link its showing below error to me.

https://nmetdvapp0006/apps/mortgagereceipts/Pages/OpenForm.aspx?_State=sFinance&SerialNo=2621_18&ReceiptRequestID=64

 

Error:

 

This page can’t be displayed

Make sure the web address https://nmetdvapp0006:81 is correct

 

For the existing flows it only shows http:// in the URL returned by Data property and link works properly

http://nmetdvapp0006/apps/mortgagereceipts/Pages/OpenForm.aspx?_State=sFinance&SerialNo=2621_18&ReceiptRequestID=65

 

Any idea why I am facing this issue.

 

Thanks in Advance.

 

Regards,

Mayur

 

Have you tried to go into workspace and check the environment fields. In the workflow you can specify which smartforms runtime to use and usually you will have one of each type http and https. Be careful when changing variables as it can unintended consequences. Also  be aware that the running varibales do not update when you update the template the running variables are accessible in each process as the string table. This only gets updated from template when you deploy a new workflow or restart K2.

 

I hope this helps.


Hi MickiC ,

 

Thanks for the reply.

 

The Smartform Runtime SSL environment field has below value.

https://nmetdvapp0006:81/Runtime/Runtime

 

This works for other flows and not for the newly added flow. When I changed https:// to http:// in Smartform Runtime SSL, re-deployed the workflow solution then the newly added flow started working as the URL returned by Data property does not contains https://.

 

I still did not get why its appending https:// to newly added flow and not for existing flows eventhough Smartform Runtime SSL has https:// in its value.

 

Regards,

Mayur

 

 


This can happen because the string table is only updated under a few circumstances.

 

1) You deploy a new version of the workflow

2) You restart the server or K2 service.

 

There may be others but you can go under each workflow and see the string table to see what the running value is. You can even change it here but changing it will only update new workflows that start after the change. If you change it to somethign other than what is in the template it will change back when you take one of the two actions above.

 

This has bitten me several times.

 

Hope this helps


Hi MickiC,

 

Thanks for the information and sorry for replying late.

 

I have used http instead of https in the Smartform Runtime SSL environment field which solved my issue. I am not sure how feasible this solution is but its working for

me.

 

Regards,
Mayur


Reply