Rameshbabu
Apprentice

Unable to find smartobject references in K2 Five workflow

Jump to solution

New to K2 Five workflow:

I have created a smarobject and smartform in the K2 designer. Then i was created K2 Five workflow in designer.

 

while creating K2 five workflow i am unable to find the smartobject reference under referece category.

 

Note : I have created SQL table in the SQL server and created smartobject using the SQK service instance.

 

Kindly correct if was missed any steps

 

6313iEC18106CE92F690E.png

 

 

 

 


context_browser_no_refernce_found_2969.png
formreference_screen_2970.png
0 Kudos
Reply
12 Replies
khanh1
Apprentice

Re: Unable to find smartobject references in K2 Five workflow

Jump to solution
Reply
Rameshbabu
Apprentice

Re: Unable to find smartobject references in K2 Five workflow

Jump to solution

Thanks Khanh for the quick reply. i was doing exactly samething.

 

But For my workflow i didnt found any datasource in the start event after select the smartform.

 

6321iEC9A53D7EB81C24A.png


my_workflow_start_event_screen_2971.png
sample_example_give_by_you_2972.png
0 Kudos
Reply
khanh1
Apprentice

Re: Unable to find smartobject references in K2 Five workflow

Jump to solution

Hi,


 


Is there a data source in your view?


6329i5B9D3EFBA9BC3426.png

Reply
Rameshbabu
Apprentice

Re: Unable to find smartobject references in K2 Five workflow

Jump to solution

Yes Khanh. In the view i have added datasource.

0 Kudos
Reply
Rameshbabu
Apprentice

Re: Unable to find smartobject references in K2 Five workflow

Jump to solution

6330iAF8CF8F0511F21B0.png


view_2973.png
0 Kudos
Reply
khanh1
Apprentice

Re: Unable to find smartobject references in K2 Five workflow

Jump to solution

Hi,


 


I'm able to reproduce similar issue if the SmartObject is based on a stored procedure (no CRUD methods). 


Can you confirm the SmartObject has the default methods similar to the one below?


6331i89BBAD8A3482260B.png

Reply
Rameshbabu
Apprentice

Re: Unable to find smartobject references in K2 Five workflow

Jump to solution

Below is my smartobject Properties and methods. Note i have set primary key for my table.

 

6334i49AC20CF331CCF03.png


smartobject_tester_2974.png
0 Kudos
Reply
Rameshbabu
Apprentice

Re: Unable to find smartobject references in K2 Five workflow

Jump to solution
Hi Khanh Also I tried for the table without primary key setting. Same issue I am facing. But this smart object doesn't have create , update , delete and read methods. Smart object only having getlist method.
0 Kudos
Reply
khanh1
Apprentice

Re: Unable to find smartobject references in K2 Five workflow

Jump to solution

Hi Rameshbabu,


 


As long as the form's views have the corrected data source (CRUD methods), it should work.


If you create a new workflow, then does it show up when going throuth Smartforms start event?


 

Reply