I need an assistance to figure out how when creating a workflow on one of the lists (List A), i can insert an empty record in a diff share point list (List B) just so i can get an item ID from the record in list B to be used in the link, which will be emailed to the user from my workflow. Any suggestions will be appreciated.
This is possible, but will likely require that the SmartObject/Data component be generated/exist for ListB.
If within a workflow, you can use the Create List Item wizard to create an Item on ListB, leaving all fields blank (maybe except for Required fields), and create the item reference. The item reference will likely contain the ID of the created item.
From the K2 App > SmartObjects section (where the Scope of SmartObject is managed);
If the appropriate "Scope" is applied, the SmartOject will also surface in the SmartObject tabs in the workflow designer, and as such you can call its Create List Item method and return the ID property to a data label:
If within SmartForms instead, you will likely be able to use a 'Execute a SmartObject Method' and target this ListB SmartObject to create the item and return the ID to a data label, parameter, etc.
https://help.k2.com/onlinehelp/K2smartforms/UserGuide/4.7/default.htm#SF_-_Rule_Designer_-_Actions.html?Highlight="Execute a SmartObject Method"
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.