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

General

MVP
In reply to: Nikolaus Schusser

Hi Maksymilian!

That is a good suggestion, tried that.

Unfortunately it didn't work.

Maybe Start-Job is not the right choice, because it starts a new thread.

If I run the attached script directly on server, it works like a charm.

Could you please post a snippet on how you are starting powershell script?

Thank you & have a nice day!

I'd just skip that Start-Job, in my example I'm just generating an XML file, but as a direct script, without any additional functions.

New thread shouldn't be necessary, just add -TimeoutSec parameter, to make PowerShell wait for the request to complete.
Invoke-WebRequest https://www.example.com/longrunningtask -ConnectionTimeoutSeconds 60 -OperationTimeoutSeconds 60 (would try both)

In reply to: Maksymilian Stachowiak

Maybe there isn't PowerShell action directly in the cyclical action, but you could create a technical 2 step workflow, and on path add that PowerShell action.

In the cycle just use start workflow action.

I'm using that workaround for sending custom mass emails sometimes. When the schedule is daily I'd say those additional entries shouldn't be a problem :)

Hi Maksymilian!

That is a good suggestion, tried that.

Unfortunately it didn't work.

Maybe Start-Job is not the right choice, because it starts a new thread.

If I run the attached script directly on server, it works like a charm.

Could you please post a snippet on how you are starting powershell script?

Thank you & have a nice day!

MVP
In reply to: Nikolaus Schusser

Hi Maksymilian!

Running Powershell from Webcon would be an alternative (e.g. starting a new thread with Start-Job).

Unfortunately there is no Powershell action available in cyclical action ...

Would be great if someone from Webcon would shed a light on this topic. Seems to be an internal (maybe hardcoded) timeout for HttpClient.

Thanks a lot!

Maybe there isn't PowerShell action directly in the cyclical action, but you could create a technical 2 step workflow, and on path add that PowerShell action.

In the cycle just use start workflow action.

I'm using that workaround for sending custom mass emails sometimes. When the schedule is daily I'd say those additional entries shouldn't be a problem :)

MVP

We will soon be using the “Public Access” feature, which allows external users to be invited to a WEBCON application step (in our case) or steps without a BPS account. So far, I’ve only found the option to customize the invitation email (see PIC-1). However, most of the people we invite are unfamiliar with WEBCON or WEBCON BPS and don’t immediately connect it to JR Rädlinger. In the invitation, we’ve already added “powered by WEBCON” so that the logo might at least be recognizable.

My question is: Is there any way to customize the subsequent communication for “Public Access” as well (see PIC-2)? For example, by using a custom background image or replacing or supplementing the logo graphic. It would also be fine if this could be handled simply by having IT swap out a file on the server.

As it stands, I feel that limiting these adjustments solely to the invitation is not ideal.

Thank you in advance for any advice you can provide!
Bjoern

MVP

Hi Nikolaus,
Looked up through dotnet docs, and it seems like it's default limit of connection duration for HttpClient class which is internally used for REST actions.
Seems like automations execution time limit doesn't override that limit too.

I'm not aware of any configuration which webcon gives to override this default value unfortunatelly.

* https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpclient.timeout?view=net-8.0

On the solution - maybe using Run a PowerShell script action would help - handle that request using a PowerShell script, and just call that script from Webcon? However i'm not sure if you need some kind of response from the service.

Hi all!

Maybe this question has already been answered before, but I am struggling with an automation and action 'Invoke REST webservice'.

I want to start REST API endpoint within a cyclical action on a daily schedule.

This is some kind of 'long running operation', at the moment it takes 10 minutes on PROD environment.

I already set execution time limit to 6000 for automation and also in global configuration, this should be fair enough.

But all I am getting is HttpClient error message after 100s.

Any ideas on how to solve this problem?

Thanks a lot in advance & best regards, Nik

WEBCON

Hi,

It seems there might be an issue on the infrastructure level. We haven't received any similar reports from other users, so it may be specific to your environment.

Could you please check if you're able to connect to googleapis.com from your setup?
If you're using a proxy, please also verify that your proxy configuration allows access to external services.

Best regards,
Łukasz

I used JS button to InvokeRule(Form rule). Form rule used FOR EACH ROW function on Item list to populate technical column with increment integer (1, 2, 3…). This integer was used for Item list sorting in Item list configuration. While in version 2022, the execution order of FOR EACH ROW was driven by sorting (even unsaved) Item list as seen on the screen (First sorted visible row first, Last sorted visible row last), it is not the case in version 2025. What is the driver for FOR EACH ROW execution order over Item list rows now? How can I control it? I used this functionality for users to fix their preferred sorted item list order between savings of partial changes (action needed in process). How to achieve the same behavior/functionality as described in version 2025?

MVP
In reply to: Daniel Krüger (Cosmo Consult)

Hi Ondrej,

you are right, the Hyperlink function doesn't support long URLs but you could use a data row an return a link using the anchor tag element:


select '<a href=" ...">Displayname</a>' as Link

Best regards,
Daniel

I would add to this, that instead of saving whole URL you could consider saving only id parts of the url, and then using data row to concatenate whole address.

So a column external_id would store 123456, and inside data row, you could do SELECT CONCAT('https://some_website/some/path/to/resource/', '{external_id}'),
this way you are safe in case that the domain changes in the future, and as a side effect it also uses less space in the db, as link is constructed on display.

Did you know that with WEBCON you can automate virtually any process? Even baking cookies 🍪
 
Speaking of cookies: we use the ones that are essential for our website to function properly, as well as additional ones that help us customize our content to your preferences. If you don’t mind cookies, click Accept. If you want to learn more, explore settings.
Settings