Complete our Nintex Community Survey
Find resources, discussions, and troubleshooting tips to design and manage workflows and business applications with K2 blackpearl.
Recently active
Hi - I am upgrading to K2 Five and we have finally reached the point where this may actually have an impact on our legacy workflows utilizing SharePoint 2010-originated components. We're on SharePoint 2013 and most of our projects have since "upgraded" to K2 for SharePoint, but I'm curious what would be the best way to identify any legacy components that were created on SharePoint 2010 integration that may be impacted today? I know there are probably some workflows out there people have forgotten about but that are actually still used. Â
Ok let's see if I can explain this intillegently. I've created a form that auto populates employee information as well as supervisor based off of the badge picker change. Fields populate without any issue. The kicker is it calls to the same data field for email based off of a rule and finds the supervisor email.  Because it is using the same data field from the backend it won't allow me to do this. I'm new to blackpearl and was wondering if there is a rule i can create or something to auto add the ADFS: in front of the emails for me.
  1) Update HostServer.exe.config   You will need update the C:Program Files (x86)K2 blackpearlHost ServerBinK2HostServer.exe.config file and change the "EWS" to "SMTP"  <sourceCode.smartActions.directoryCatalog><catalogs><add path="SmartActions" /><add path="SmartActionsEWS" /> to <add path="SmartActionsSMTP" /></catalogs></sourceCode.smartActions.directoryCatalog>   2) Add SMTP settings in Connection String   - FIrst you will need to add the SMTP settings in C:Program Files (x86)K2 blackpearlHost ServerBin ConnectionStringEditor.exe as well by clicking the (+)     - For the email address, you will add the K2Service Account.    ex) K2Service@denallix.com     - After adding the Service Account you will then need to populate the the appropriate settings on the left side when selecting the string.  Â
Hey Community,I've encountered a strange behaviour in the K2-Workflow-Environment. I add in almost every process we got a step called "load Signature" for a Signature I attach to every mail I send through the workflow. There are some information like the telefon-number of our hotline and so on. Now some parts of the template changed and I updated the .xls-File and uploaded it to the server overwriting the old version. But the system still uses the old version... It took me some time to recognize this since a process I've vreated AFTER these changes works properly with the new version of the template but the old processes don't. I already restarted the virtual machine and also the blackpearl-service. The template seems to be okay since the new process works fine. Does anybody got an idea? Deploying a new version of the process for every project is no option since these are alot. BTW: we're still on 4.6.11 (I know shame on us but we're going to update soon) best regards,Tim
Hi Friends, I have observed a strange behaviour when i'm using SmartObjectClientServer.ExecuteSQLQueryDataTable(sqlQuery) method. Actually the smartobject has around 22000 records, but when i call the same smartobject's method in .Net using above api method it is returning only 6000 records. I also verified with its overlaod method ExecuteSQLQueryDataTable(string sqlString, DbParameter[] dbParameters, bool autoAlias, int startRecord, int maxRecords) by passing max records as 10000, but the result is still same. To verify other possibilities i tried using SmartObjectClientServer.ExecuteListDataTable(SmartObject) method but still the result is same. ADO Query Used: SELECT * FROM Process_Instance SmartObject Name: Process_InstanceMethod Name : List Could any one help me on this? Â
          Here is how you can resolve P&D error after K2 migration if you run into the below:   During a K2 Blackpearl deployment, an error occurs:    "System.Reflection.TargetInvocationException: The "SourceCode.DeploymentTasks.ExportProcessTask" task failed unexpectedly. System.Net.Sockets.SocketException (0x80004005): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond (IP ADDRESS:5555) at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.Connect(EndPoint remoteEP) at System.Net.Sockets.Socket.Connect(IPAddress address, Int32 port) at SourceCode.Hosting.Client.BaseAPI.SocketBaseAPIConnection.OnOpen(SCConnectionStringBuilder connectionStringBuilder) at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnectionBroker.OnOpen(SCConnectionStringBuilder connectionStringBuilder) at SourceCode.H
Hello,I have created a workflow that converts a string into a base64 string.it goes from a text field in a form ---> data field in workflow --> conversion --> base64 string in another datafieldwhen i execute the workflow it's supposed to send the resulting base64 to a text box in the form, but it does not. I know the conversion works because I added an email event to myself and it emails the base64 string, I just can't get it to send it to the form after its executed.
Hi All,    Although you can edit the display names of any of your SmartObjects, it gets a little bit complicated if you want to change the name on the system level. When a SmartObject is created, it's name gets set in both the K2 SQL database as well as in its XML. Thus, if you need to change the system name of a SmartObject for any reason, the best way to accomplish this would be to create a copy of the SmartObject you wish to rename using the "Save As" button:          Once created, you can name this copy and create a new name for the SmartObject on the system side. To use this renamed copy in workflows and forms, simply update your K2 artifacts to use this new copy as a data source.     - Emily     K2 will not accept any liability for any issues arising from actions taken in respect of the information provided by any forum member.Â
Let's say we have this scenario: User A: Out of Office to User BUser B: Out of Office to User C while User A is still Out of Office Currently if that happens User C only sees shared tasks from User B. I would like that User C also saw the tasks from User A without having to create an additional Out of Office from User A to User C. Is there a way to do that through the K2 API? I've noticed a single WorkListShare instance can have multiple WorkTypes so I'm thinking maybe there's a way to define a WorkType for shared tasks.
I open new subform "FirstForm" in the parent form. Then i nvaigated to another form "SecondForm", make some changes and navigate to my "FirstForm". I close it and try catch this event "when close subform and subview when button is clicked" and it not catched. What i should do? If i open just "FirstForm" and close it without any changes - all works good
Hello, I'm trying to use a ADO query ,SELECT '[ui:1]' AS [2024], [VehicleNumber] As [100:2], [City] As [123:10], [County] As [100:35], [ZipCode] As [300:30] FROM VehicleDetails. I'm getting an error "Incorrect syntax near 'ui:1'" while trying to execute the adapter.fill(results) method. Please help me how to resolve this problem and get [ui:1] as the first column value for all the returned rows. Thanks in Advance,Pree Â
Hi there, I have created a test view that allows you to add items to a SmartBox data source, that data source is then used to drive the contents of the list box. When you click add it refreshes the datasource of the List Box and the new rows apear as expected:  Clicking remove results in:  This is not desired behaviour in my scenario as I need the user to see the list as not having any data in it at all. Things I've tried after removing the items from the SmartBox Smartobject. 1) Calling the View initialise method2) Transferring empty to the List Box The example kspx has been attached (remove the .zip from the extension) if you want to test it yourselves. Any ideas? Cheers  Â
I am seeing below error when K2 smartobject calls a wcf service from an activity event in the workflow. One of the error data field is updated with below error. But, didnt see any of the other data fields being updated. I want to know why workflow activity got completed. And as the response was not received from the wcf service - none of the data fields got updated. Due to which none of the paths were followed.Since, this error didnt error out the acitivity,, we couldnt see this in error profiles. Workflow got completed as activity was showing completed (without following any line rules). Instead, it should have been in error status.Can someone please help to understand this? Message: An error occurred while receiving the HTTP response to http:// Service URL.. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more de
I am building out a workflow where the first activity after the user starts the workflow is a SmartFroms Client Event going to a specified role.   Both myself and the other person in the role get two email notifications.  The two notifications I receive have unique serial numbers (example the one I'm looking at has 962_27 and 962_35). The destination rule looks like:   Any ideas? RobÂ
We are trying to find a way to turn off the sending of emails from our Dev/Test blackpearl servers, as some test items are being sent to users and causing confusion. Is there a way to toggle that on/off?   Thanks, DR
Hi, I have a datalabel on my form, setting a number onChange of the checkbox. Want to get this value in the Javascript.code is like below :<script> debugger; var checkboxIds = [ '53f429d8-78*personal details removed*c58-f3da-09d85cf1348f_1bf76e33-e6f2-4d1f-ae*personal details removed*f29cc4c55', '1fa2144e-c0*personal details removed*a4c-bebe-30e241ea327f_f078efd1-77f0-59*personal details removed*a-c41c7294ce33_CheckBox', '1050529c-68*personal details removed*-ab*personal details removed*a3caada80_f078efd1-77f0-59*personal details removed*a-c41c7294ce33_CheckBox' ]; hideAllCheckBoxes(); function hideAllCheckBoxes() { //This datalable value I neeed var $selectionStartDataLable = GetSFControl('dlblCheckedCheckBoxName'); var CheckBoxNumber = $selectionStartDataLable.SFCLabel.Value; //here getting Exception var exceptionId = checkboxIds[CheckBoxNumber].text; if (exceptionId) { for (var i = 0; i < checkbo
I created a very simple K2 Studio workflow that uses a For Each to pull 1300 records from a SQL Server database table just to insert the columns from that table into an Oracle table on another server databae. It took 45 minutes to load that few records. Why is the For Each so slow to process? I submitted this as a ticket with K2 and there response was: "This time frame is expected because when records are being loaded, first it connects to the SQL server, takes the value, and then has to connect to the Oracle server until it can finally completes the transfer. Additionally, each time a record is transferred the connection closes and must reopen again for the next record. Thus, for all your records the servers have to undergo this process 1300 times, accounting for the 45 minute wait you are seeing. If you would like to read more about this, please check out the following documentation: https://docs.microsoft.com/en-us/sql/ssma/oracle/connecting-to-oracle-database-oracletosql?view=sql-s
 Might be a silly question but not being an Exchange guru, I'm not entirely sure what is possible and what is not. Can anyone advise if it is possible to use the out-of-the-box Exchange integration to add events into a public Shared Calendar in Exchange? Or is it specific to users? Thanks in advance  Dan
We have a WCF function that takes a string input, but when it translates to K2 service objects it is showing as text and we want it to show as a Memo. How would I accomplish this?
So, I'm experimenting with the MultiSelect control and Checkbox list control Here's my observation: The MultiSelect control writes to the database column like: 1;5;3 where each value is simply the numeric value of the SmartObject ID separated by a semi colon  The checkbox list control writes to the database like: <collection><object parentid="94c19dea-652b-41d6-ba1c-c055e1cf337c" parenttype="Object"><fields><field name="ID"><value>5</value></field><field name="ID"><value>10</value></field><field name="ID"><value>11</value></field><field name="ID"><value>3</value></field></fields></object></collection>   So...question. Is there a way to make the checkbox list control write 1;5;3 instead of <collection><object parentid="94c19dea-652b-41d6-ba1c-c055e1cf337c" parenttype="Object"><fields><field name="ID"><value>5</value><
Newbie question: Once you have added a ServiceInstance, you can right-click on the ServiceInstance to display the context menu . Among the options listed are "Create SmartObjects" and "Generate SmartObjects". What is the difference between the two? When would you use one versus the other? Thanks,    Richard
Im ataching images for 2 different ideas for this. One is the insert of the step into an existing path. the other is the generation of a step form clicking on a path.
Hello,    I have seen this issue a whole bunch of times and it can have very many causes. The error usually looks something like: "SmartObject Method Update has required Property ID."     Cause #1:  Smartform/Workflow Designer Issue. Make sure that there is a Value being passed into the method that is failing. Make sure that this value is populated at the time the method is being called. If neither of these, move on to Cause #2.     Cause #2:  SmartObject Design If you don't think that the property giving us the issue should be required, check your SmartObject and see if the property is required there. This can happen a lot with SharePoint solutions because for most of the methods, the Document/Attachment could be required for most methods, but for some it is not. If the property is required, you will get this issue. If neither #1 or #2, move on to cause 3.     Cause #3:  Performance/Networking This issue is usually seen when it comes to SharePoint as well. For exam
Hi All,    I've recently come across issues with validating checkbox controls on forms. It turns out that the validation process for checkboxes is a little bit different than most controls. Since checkboxes are designed as booleans, they technically always hold a value - either true or false - regardless of whether the box has actually been checked. Since the OOTB form validation works by checking for the presence or absence of a value, it is impossible for it to accurately gauge whether a checkbox has actually been checked, and thus always passes validation for this control. A potential workaround for this would be to create a "When the Submit button is clicked" rule with an advanced condition that is configured as follows:          If you would like to validate that this box is checked, set Right to "True". If you want to check for an empty checkbox, set Right to False. Then, add a "Show a message rule" that either confirms validation or requests that the user mark the checkbox be
Hi All,    I came across an issue with a customer recently where it appeared that the sum of a column of decimals in a list view was rounding up incorrectly (i.e. should be 200.41 but was returning 200.42). After some investigation we found that although he had set the values being summed in the column to show only two decimal places, the sum was actually adding up the real numerical values (all decimal places), and not the displayed ones, resulting in this hundredths place discrepancy. Here's an example to demonstrate this a little more clearly:     Say we have a number, 1.95, but we are displaying only one decimal place. Thus, the column and sum will look like this:  1.9  1.9  3.9     Note that if the sum feature was adding 1.9 + 1.9, our expected value would be 3.8. However, since the sum function takes the ACTUAL values 1.95 and 1.95 and not the displayed ones, our returned value is 3.9.     To make sure the summed value returned is reflective of the values being added, set the col
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.