WELCOME TO THE COMMUNITY
find what you are looking for or ask a new question
Home > Forum > Latest posts

latest posts

MVP

Hi Nik,

I have never faced any issues when using field values for limiting the available values.

Example one uses a value from a field while example two uses a union to define a common source out of which only a part would be valid for an instance.

I'm not sure that I understood everything of your query but if Step_Id is referring to the step of the current workflow instance, this could cause problems.
Having one set of available values in the first step while another one in the second step will cause an error, if the value could not be found in the second result set.

Best regards,
Daniel

Hi community!

I have to implement a choice field (Autocomplete or Popup), whose results should be dependent of the following:

1. Current step
2. If second choice field is selected, it should narrow down the results from a subquery (Item list)

First of all Webcon doesn't accept a DECLARE statement in the first line of a custom datasource based on 'Current BPS connection'. A workaround here is the 1. statement (IF (1=1)).

This query does seem to work (it is showing the right results in the right step).

What does not seem to work is the filtering on user input. Query seems to be evaluated all the time, showing ALL results regardless of user input.

Is there any other way to achieve such a requirement?

Thanks a lot in advance, best regards, Nik

MVP

Hi Paweł,
for DEV env you could try checking 'Nie sprawdzaj certyfikatów HTTPS' * on WEBCONBPS connection.

But I'd encourage to check certificates. If it's possible login to windows server where webcon service is hosted - try opening webcon site in a browser, and look for some certificate errors.
It could be a trouble with self-signed certificate for example - you'll have manually add that one into the certificate store on windows server.

* https://docs.webcon.com/docs/2023R3/Studio/Action/Integration/Action_RESTWebServiceInvoke#4-dont-validate-https-certificate

I was following:

https://daniels-notes.de/posts/2023/copy-attachment-to-other-workflow
and
https://community.webcon.com/forum/thread/3240

[quote="Daniel"]
you using the function would be one option. Other are:
- Set the local parameter using an SQL command
- Use the for each function to iterate through the attachments
- Use the for each function in combination with a data source
- Use the for each function in combination with "any collection

Since there are numerous ways where the attachment id could come from, I didn't explicitly define it.

Best regards,
Daniel
[/quote]
- OK, I will do it later [now I have got static Attachment ID]
but now I have got problem with:

[code="error"]
Kopiowanie Załącznika do innego Flow - Request Url:
Response Code:
Exceptions:
One or more errors occurred. (The SSL connection could not be established, see inner exception.)
[code]

I see:
Local parameters values before failure: Body => { 'name': 'Protokól Odbioru DostawyDOS_IN_2024_04_00017_2024-04-30_ZAM_2024_03_00187.pdf', 'description': '', 'group': '', 'content': 'JVBERi0xLjcNCjU [.... bla bla bla bla ... ] DY1NzQNCiUlRU9GDQo='}
and after that error:
Error flow

Something I missing .... but I'm not sure what ....

I have Webcon 2022.1.4.404