Skip to main content


 

Symptoms


How can I update a SmartObject using K2 Studio?

When attempting to configure a SmartObject event to perform an Update method, I must configure a required field called "TicketID". When I go to the SmartObject Server > Single Method > Read > TicketID, it asks for a value for the ID field which is still TicketID. Ticket ID is autonumbered on the database so I cannot enter a static value.

If I were using wf branching in K2 Designer, I would look to a form data control to drop in as the value. However, I do not have the option to grab a form data control. How can I configure the SmartObject Event to perform an update method?

 

Diagnoses



The SmartObject need to be included in the K2 Studio Project where it can be modified. If the SmartObject needs to be manipulated or included in the workflow, a SmartObject Event should be enough.
 

Resolution


Adding a SmartObject Event to the Wrokflow and integrating the Workflow with SmartForms let us manipulate the SmarObject. We also added the SODX item to K2 Studio.
Thanks, and regards,
Mauricio Godinez.




 
Be the first to reply!

Reply