Hello everyone, we are using JavaScript for a RestAPI call (long story – it's a requirement from IT). Now I receive the "Response Status Code" and "Response Text" within the JavaScript, but I also need to send these values back to WEBCON for further processing. Since we usually work with WEBCON without using JavaScript, I’m lacking the necessary know-how in this area. Can anyone assist me with this? Thank you in advance! Wishing you all a great weekend, Bjoern
Hi, I have a problem with 2024.1.1.114 and SDK execution. I created an SDK to connect to the SAP and download data from the chosen contractor. The SDK was working from version 2022 to 2023 with some updates to c# code - after updating Webcon and SDK to 2024 i received the error: ERROR -> Plugin changed transaction nesting count. Please contact administrator. Interestingly, when I connect the VS debugger to the portal, the error does not occur and the SDK downloads data to the form. (...)
What is the possible and if, the most efficient way of getting data from a dictionary into a js file that is supposed to read all the items from said report ? SQL(business rule, then convey it to the js file as an argument) or we can natively do it in js ?
Is there a way to change the style of a choice field when it couldnt find a mach?
Hi there, Is it possible to use one datatable to show different tables from a sql server? Right its possible to filter the sql results based on a value in a certain column. I also want to make it possible to show the content of a different table, however account to the infobox to the right side of the textbox where i write the sql statment, its not possible. So i was wondering if there is an alternative. It would be a grueling task to create a datatable for every table on the server(there are m (...)
Dear WEBCON Team, is there an option to only SHOW or HIDE the cell of the current row (in the specified column)? With the Form rule in the Screenshot the whole column is affected. Same for the Mark Required / Mark Not Required Rule. Thank you & Best Regards, Lena Schmidbauer
Hello, I have create a form rule JS that would color the cell in an itemList. But when i move between tab panels, JS is not working anymore. On page loading/Refresh, it is fine. Do you have any tips? Thank you. let itemList = #{BRP:151}#; setTimeout(() => { var itemListElement = document.getElementById(itemList.fld + "_" + itemList.id); if (itemListElement) { const provenientaElement = itemListElement.querySelector('th[data-key="#{SFLD:512}#_#{DCN:512}#"]'); if (pro (...)
Hello, I'm trying to create a more complex delete of line function. To explain this briefly, I have a list, where I can't use the normal delete button. So instead, I'm adding one using a dataRow form field, where I call the JS function like this: deteteFunction(list ordinal number); In this list there is a column called IsOld, and it's values can be OLD or NEW. * If the line I want to delete has the value NEW in the IsOld column, then I want to just simply delete that line using the ba (...)
Hello :) I have a process where I generate an XML file. I would now like to extract this XML file in another process with a sustainable solution. My XML file contains multiple fields as well as lists. What would be the easiest way to achieve this using WEBCON? I was thinking of writing the content of my XML file into a technical multiline text field via SQL and then extracting it with the "Change Values" action. The lists would be handled with the "Update Item List" action. Is this possible? T (...)
Hello there :) I have fairly an easy question. I want to set up the timeout action which would remind users to do their step while the step would have the "Active" Status or onhold. The current logic did not work unfortunately :( Any tips on that? See attached. Igor
Hello, I have a simple question, just out of curiosity, what does: ATT_IsSecret good for? I never used it and today I saw it and I realized I know nothing about it. If anyone has any knowledge, please share. Thank you, Best regards
Hello everyone, I need your assistance with something. I am currently working on a Business Rule that should return a value using SQL. The Business Rule needs to be as universal as possible, and I want to pass two parameters to the SQL query. So far, so good. The issue is that I want to pass the same form field as a parameter twice: once as a value and once as a "column name" (essentially as an object value that I can transform in SQL with single quotes to something like WFD_AttText4). Thi (...)
Hello there :) I have yet another problem, regarding the form validation. I've attached the rules that I've applied. What I want to do is I want to block the occurence of choosing current day while it's after 9.00 A.M. Otherwise If the day is <> than Today() then the result is TRUE, which means, you are able to go further. Best Regards, Igor
Hi I have a question. I want to return all weekend days in SQL for my form validation. This is my SQL Code that returns these days, but only for the current month: WITH Dates AS ( SELECT CAST(DATEADD(MONTH, DATEDIFF(MONTH, 0, GETDATE()), 0) AS DATE) AS DateValue UNION ALL SELECT DATEADD(DAY, 1, DateValue) FROM Dates WHERE DATEADD(DAY, 1, DateValue) < DATEADD(MONTH, DATEDIFF(MONTH, 0, GETDATE()) + 1, 0) ) SELECT DateValue FROM Dates WHERE DATEPART(WEEKDAY, Date (...)
Hello. I have a choice field that is appearing in 2 different steps. Is it possible to filter the returning data depending on the current step? ex: if in step A, choices to be 1,2,3 and if step B, choices to be 4,5,6.
Hello there :) I have a problem when trying to generate a table using the manual initialization via HTML Button. It only works when I initialize the table manually. I want to use SQL however, to automate the whole thing. I failed using many Select Statements. What would be the ideal Select statement that would return the days between two dates, which happen to be the attributes? Best Regards, Igor
Hello all, I have a use case where for a parent workflow (let's say order) I'm starting many child workflows (suborders). There are some details which i don't want to duplicate on suborders like 'customer' for example - it should be stored only on order, but not on suborders. In the reports i have one report for orders, second one for suborders - on suborders I'm able to show 'customer' using custom column. With SQL like this: ( SELECT dbo.ClearWFElem(WFD_AttChoose2) /* Customer */ (...)
I have three environments: PROD, TEST and DEV. My current WebCon BPS version: 2023.1.3.169. There was a global problem with business rules in the TEST environment (it also occurred before the system update, i.e. 2023.1.3.76) - it is not possible to introduce a single new rule because an error immediately appears, as follows: Typ: System.ArgumentOutOfRangeException ------------------------------------------------------- Wiadomość:Zgłoszono wyjątek typu 'System.ArgumentOutOfRangeException'. (...)
Hello, I have a little problem. My scenario is something like this: I have an item list, with 3 columns A, B(not important here) and C and I want to disable column C(data row), if column A(choice field) has value 1#Mother, for example. Even if it's a new row just added by the user at that moment, even if it's a row added previously by other user in another step.. I just simply want that column C to be "enabled" only for a certain condition. What I did, I followed the steps from this threa (...)
Hi, I have found this thread, but i really don't understand how to create a custom button for each row in item list :( I would like to create a custom button that InvokeMenuAction for the row i have selected. https://community.webcon.com/forum/thread/3293 Can you help me? Thank you.