Smartaction Questions

  • 27 October 2015
  • 3 replies
  • 0 views

Badge +10

HI all,

 

I've read a few K2 documents on smartactions and I have a few questions that the documents didn't answer. I am not able to configure smart actions due to environment restrictions, so I am not able to test.

 

Question 1:

 

In one of the K2 documents I read, you had to configure the actions that your workflows had in the K2 host erver config file, in the <synonyms> tag. My question is,

example; If i had an action called "Approve with new date" in a workflow. 

 

<action value="approve">
<synonym value="approved"></synonym>
</action>
<action value="decline">
<synonym value="declined"></synonym>
<synonym value="reject"></synonym>
<synonym value="rejected"></synonym>

 


3 replies

Badge +7

Hello,


 


So are you asking if you can add a parameter to the response? Or were you wondering if you can shorten responses?


 


Regards,


JC

Userlevel 6
Badge +16

Hi,


 


I just did a test of the scenario. It appears that I don’t need additional <synonyms> tag setup.


Perhaps, the following links will help.


http://help.k2.com/onlinehelp/K2blackpearl/UserGuide/current/webframe.html#K2_SmartActions_K2_Server_Configuration.html


https://peterblommendaal.wordpress.com/2012/06/02/k2-smartactions-configuration-tips/


 


 


14528iB6D705EA0DDBCF51.png


 


And when I respond via SmartActions.


 


16702i2DDC8F8823990BC3.png


 

Badge +10

Thanks Guys,

 

You are right, I have been able to test this as well now and looks like the synonms do not restrict what is shown as avilable actions.

Reply