Nintex Automation K2: Back to basics
Find resources, discussions, and troubleshooting tips to design and manage workflows and business applications with K2 blackpearl.
Recently active
I am trying to use the Get Item Reference to get a list item ID from a SharePoint list and then save it to a datafield of type integer but it fails with "Specified cast is not valid".The ID field is a number field is that not the same as an integer field?i have even tried using To Integer conversion on the ID field but that does not work.  Any help would be appreciated.
We created Smartforms and Smartobjects through Sharepoint for Blackpearl API. API created 3 forms (New, Edit, Display).I created WF in K2 Studio and I am using default client event in WF. In default client event, I am selecting Task Item URLoption and building an expression to get form URL (please see the attachment 'RulesErrorImages'). I created a datalabel in WF to get form name from form. When I am submitting the form. Workflow is starting and Manager is getting task for approval in email but the Worklist Item link of task is throwing an error "File or directory not found". Since I am starting WF at New form and I will use Edit form in WF. Where should I pass the Form name values in WF Datafield?Please see the attachment for all rules.
I am posting this, to maybe save someones time, because I did not find a solution to this problem on K2 Community or Google. Problem: When starting a workflow with the option Item added nothing happens, workflow doesn't start. No error in K2 logs. Resolution: After thoroughly checking the sharepoint logs, I found an error in calling K2 event service, no endpoint, CRLF error. If site is created with default language choosing our native language (non-english) K2 SharePoint app can't send events to K2. Creating SP site with english as default language and adding our language as additional language solves the problem.  Sincerely, Benny KEYWORDS: k2, event service, calling, endpoint, CRLF, language, sharepoint 2013, app, 4.6.11
Hi, I am having a custom K2 form for SharePoint calendar list. I am having a drop down field which holds the list of meeting rooms. The value of the drop down is a look up from another SharePoint list. My requirement is, If user 1 is creating an event by selecting one meeting room from the drop down, and user 2 trying to create an event on the same date and same time, the meeting room drop down should not list down the value which is selected by the user 1. I'm totally new to K2. Please let me know how to achieve this in K2? Regards,Jothi Â
 We have a scenario in which workflow task is going to a group of 4 users (A,B,C,D). What is happening right now is if User A opens the taskit's assigned to User A. Rest of the user (B, C,D) are getting an error when they open the same task.     Now I have a requirement that end user needs ablility to redirect the task to move the workflow process in absence of User A.As a system Admin I can do it through K2 Management. But I don't won't to give admin access to end user. I would apprecite any thoughts/help.
We have a View that has 8 different toolbar buttons on it that act and look like a Navigation/Menu bar. This Navigation View appears on each Form along with other Views relevant to that Form/page. When a toolbar button is clicked on the Navigation bar, it navigates to the form associated with that toolbar button and then the Navigation View among the other Views load for that particular Form. Because of security, certain toolbar buttons are not visible to certain users on the Navigation View. So we have an issue where each time the a toolbar button is clicked and the user is navigated to a new Form, the Navigation View displays all the toolbar buttons, then hides some of them based on the user's role which is grabbed from a SmartObject on Form Initializing rule. We tried making the Toolbar Buttons invisible on load however that caused the Navigation toolbar buttons to fully disappear and reappear which was more distracting than just some of the toolbar buttons reappearing and then dis
Hi,I was wondering if anyone is having experience with DynaTrace to monitor K2. Regarding the K2 hostserver we do need to increase the transparency of the K2 server traffic and DynaTrace Appmon is already in use in our infrastructure department.We have tried to track outgoing traffic sent by K2, but we are unable to generate a succesfull result. The DanyTrace guru in our organization wants to precompile or lock the dynamic dll's to create a successfull result and I do not know if that is possible.Anyone comfortable with this?
Got a patch for the Workflows.. but not sure exactly how to apply if the GAC path does not exist.. Stop K2HostServer.Backup assemblies to be replaced.Replace assemblies as below.1. SourceCode.dlla. C:Program Files (x86)K2 blackpearlBinb. GAC (c:WindowsassemblyGAC_MSILSourceCode4.0.0.0__16a2c5aaaa1b130d)Start K2HostServerIIS Reset Found some documentation but not sure what is the MyApp name ???gacutil /i /r myDll.dll FILEPATH c:applicationsmyAppmyApp.exe MyApp c:WindowsassemblyGAC_MSILSourceCode4.0.0.0__16a2c5aaaa1b130d gacutil /i /r SourceCode.dll FILEPATH c:WindowsassemblyGAC_MSILSourceCode4.0.0.0__16a2c5aaaa1b130d MyAppÂ
Hi there.   Using the web based workflow designer, is it possible to use the Get File From Location inline function and have the file land in a data field that can then be manipulated later in the workflow? Someone walked me through how to do this with the stand-alone Client Based K2 Studio...you have to have the destination be a XML Field...but I don't seem to see a way to manipulate XML fields in the web based workflow. Anyway, help is appreciated as always. RobÂ
I have workflow on a SP list, in this workflow in a user task, I want to call a Smartform on a different library. I am able to select form that is defined on library but cannot check "Use Item Reference" checkbox (please see attached). I want to be able to data from form smartobject in Workflow. Any idea why? I want to be able to use library item reference to update metadata, set permissions etc. in workflow.Thanks
Morning all, Here's one for a Monday to wrap ya brains round... Got a form with a View (the view contains a Save PDF button and a Load File Attachment) The user clicks the Save PDF button and it creates the pdf and the loads it into the File attachment. Problem is, the screen (K2 form) jumps up 2 inches from the bottom of the screen after the PDF is loaded, instead of staying at the bottom so that the user can see the attached PDF, it's moved up and the user doesn't know if its been generated unless they scroll down. My question, why's it doing it?2nd question, how do i get round this? Is there a way in the rule to say after the file attachment has loaded to stay at the bottom of the screen or something like that?   Â
Hi, I'm using the PDF Converter to capture a form, but i've just noticed that the radio list buttons are not showing on the PDF, why?If choices are made using the Radio buttons, the choices need to be captured on the PDF, but all that is captured is the Radio button text, not the radio buttons and associated choice. Any ideas?
K2 blackpearl 4.6.11 We have not built too many Smartforms but the few that we did used the SF only for the UI, the process was built using K2 for Visual Studio. Recently, we tried building a Smartform entirely using the browser-based K2 Designer and ran into several issues that required workarounds and took a lot of time to resolve. 1. Tasks require one outcome per action. It’s not possible to route to Activity 1..N based on value of a string/environment variable, need workaround to create dummy activity, etc. In Visual Studio K2 process design, we can define 1 action and multiple outcomes through line rules. How can this be done in SF?2.  There is no ability to run onload code for an activity to, for instance, log data to an Oracle table when an activity is initiated. In Visual Studio process design, we can create Client/Server events for each activity where we can write db operations code etc. How can this be done in K2 Designer?3.      No easy way to run a process in test mode
Hi,I have an existing SQL Service Instance which point to s sql database. Now I have created a new view within my database.I just want to make only this new available within my service instance. If I refresh the service instance all new tables and views would be available.Whats the best way doing this? I am using Smart Object Service Tester. If I would Refresh the complete Service Instance form "DB 2" (see attached file), than all Stored Procedures, Tables, and Views would be created. i just want to have one specific view there. many thanksÂ
Hi allI would like to create a list which display distinct field but I have no idea how to do it.(Attached listview.png) is a 'List View' which only display 'Alias' field. It is extracted from a SMO (attached full table.png) generated frm SQL server.For instance, 'CSM' have two data, however I would like to only display once when the list view is initialized. similar reference as: https://community.k2.com/t5/K2-blackpearl/Duplicate-value-in-listview-row/m-p/86164.But the above case did not remove duplicate rows.I also thought of using filter in list method however I cannot determine a single ID to be inputted in the SMO when the view is initializing. (It is the Alias to filter, not a particular ID record) And help would be appreciated! Â
Hi All, How to get the size of the document(which was stored in Datbase) in workflow? Not in smartform i mean i have a document which was stored in the database, if the document size is X then i need to attach to my email event.  RegardsSri
Hi, If my destination users (approvers) are part of an Email Outlook Public Folder (not an AD Group), can they still be resolved to inidividual users and approve the request individually? Usually i have an AD Security group for the destination users, but in this case there isn't one, just a group email address instead. Thanks Â
Hi, In K2 studio when doing a client activity, i want to send the request to an Outlook public folder email addressCan you specify an email address and have K2 resolve it to individual users accounts for the approval? There is no AD security group for the users, just individual AD user accounts, but i want to set them all as the destination using the outlook email address (public folder email address) Is this doable?
I have a workflow that captures rich text into a data field that is then displayed in an email messsage. At the end of the workflow, I need to have that same rich text data appear on a pdf version of the email as a report. The pdf generation is working fine. However, to get the entirety of the text to display I used a data label on the smart form for the report, since the data field can be lengthy, and just displaying it as a smart form text area (memo) didn't work as it only displays a portion of the text as a frozen screenshot. My issue is in doing this, copying text from the rich text column on the smart object into the data field, any and all html formatting tags are showing up. I'd like this to just display straight text but haven't been successful. So far I've tried the "To String" conversion, the "Encode", "Decode" options, but nothing has worked. thoughts?
We found that the K2 Restful APIs implemented only the Authentication Token method. Is there or has anyone asked for the Grant_Type=Password being added?
I have created two activities and gave them different system names.But i need for those two have same Display Name.But it show Duplicate name errror.If we have Name property as unique identifier what is the reason of tracking uniqueness for Display Name property?Does anybody know the reason of such logic?
We have K2 Blackpearl 4.7. We get the following error:  This error started poping up once in a while. Now, I understand this is related to the System Paging file size. I have tried adjusting the paging file size multiple times and it fixes this error but after few days this error will reappear. This happens on Production Server so need to get this fixed at the earliest.  Any tips and/or suggestions to resolve this for good?
Dears, Good day! We would like to allow external access to one of our processes. As of today, all of our processes are accessed by internal users over windows authentication.We have K2 internet license and would like to configure external access for our run time site. In our current setup, we have smart forms server in DMZ and blackpearl server and SQL internally.How we can configure our smart forms run time site to be accessible by external and internal users at the same time. What are the best ways to implement? Appreciate any guidance to configure controlled external users access to K2 smartforms. Thanks
Hi everyone, In K2 Rule designer (K2 Designer), I have 2 actions that execute one after the other (separated with "then").First action: a smartobject that executes method to Create folder in SharePointSecond action: tha same smartobject that upload document to that folder. Sometimes I have a problem when executing the second action, because the first action does not finish to create the folder. How to check if the first action has finished, before executing the second action ? Thanks.  Error : Error occurred trying to Execute (SmoSPDocument) - System.InvalidOperationException: Cannot upload to the folder specified. The folder cannot be found.at SourceCode.SharePoint.Client.DocumentFunctions.UploadDocument(String fileName, ContentType contentType, String fileContents, String subfolderPath, Boolean overwrite, String versionComment, RuntimeField[] metadataFields)at SourceCode.SmartObjects.Services.SharePoint.Content.SmoSPDocument.executeUploadDocument(Property[] inputs, MethodParameters m
Hi, I am implementing export functionality using excel export control, but facing an issue i.e. when Smart Object returns numeric value it gets converted into text value in exported excel. I want to save numeric value as number only without any conversion to text in excel. Please share any suggestion over this. Regards, Sonali Jain
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.