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
Best answer by khanh1View original
I made a quick video. Let me know if that helps.
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.
Is there a data source in your view?
Yes Khanh. In the view i have added datasource.
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?
Below is my smartobject Properties and methods. Note i have set primary key for my table.
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?
Could you try with a new SmartObject created from below SQL table?
CREATE TABLE [dbo].[Table_2](
[id_column] [int] IDENTITY(1,1) NOT NULL,
[name_column] [nvarchar](50) NULL,
[description_column] [nvarchar](max) NULL,
CONSTRAINT [PK_Table_2] PRIMARY KEY CLUSTERED
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [primary]
) ON [primary] TEXTIMAGE_ON [primary]
what is difference between creating table using below query and normal create table query.