Run C# code/script in Workflow 5 (Server side)
Non planifiéeI would like the ability to call/run a C# script (or call a method in an assembly) from Workflow 5.
I see "Scripting" capability was recently added to Reporting 5. It would be great to have similar capability in Workflow 5 (like we had in Workflow 4).
The running of C# code in a Workflow can be a server side only activity for an On-premise install.
-
I don't think it's going to be possible to compile and run C# source code in Workflow 5. We use TypeScript as the scripting language, which is then translated as needed to work in the .NET version. Compiling and executing arbitrary C# code would be quite a security concern.
We do however have the Run Application activity (https://docs.geocortex.com/workflow/latest/help/Default.htm#wf5/help/activities/run-application.htm) which you could use to execute something that you have on your own machine. Maybe you could host a PowerShell script and execute it this way?
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
1 commentaire