Title: Bad request on executing activity · Issue #18 · optimajet/WorkflowServer · GitHub
Open Graph Title: Bad request on executing activity · Issue #18 · optimajet/WorkflowServer
X Title: Bad request on executing activity · Issue #18 · optimajet/WorkflowServer
Description: Hi, I am trying to configure an example of a schema and instance by using the Callback Api, and I am getting a bad request error. When I test via the callback swagger it is successful, but when I set an action on an activity i always get...
Open Graph Description: Hi, I am trying to configure an example of a schema and instance by using the Callback Api, and I am getting a bad request error. When I test via the callback swagger it is successful, but when I s...
X Description: Hi, I am trying to configure an example of a schema and instance by using the Callback Api, and I am getting a bad request error. When I test via the callback swagger it is successful, but when I s...
Opengraph URL: https://github.com/optimajet/WorkflowServer/issues/18
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bad request on executing activity","articleBody":"Hi,\n\nI am trying to configure an example of a schema and instance by using the Callback Api, and I am getting a bad request error.\nWhen I test via the callback swagger it is successful, but when I set an action on an activity i always get a bad request:\n\n```{\"@t\":\"2025-02-18T14:51:13.5089705Z\",\"@m\":\"Caught an exception\",\"@i\":\"ebd50127\",\"@l\":\"Error\",\"ExceptionInfo\":{\"Exceptions\":\"(ProcessExecutionException)Create instance of the process, ProcessId=0e4f7da7-7089-1f89-42bb-aab55a1d4fd1, failed.\\r\\n-\u003e(ProcessExecutionException)Error while executing implementation of Activity activity of the process, ProcessId=0e4f7da7-7089-1f89-42bb-aab55a1d4fd1\\r\\n--\u003e(CallbackException)Code: BadRequest. Requested url https://localhost:7143/api/workflowaction/executeaction.\",\"Message\":\"Code: BadRequest. Requested url https://localhost:7143/api/workflowaction/executeaction.\",\"StackTrace\":\" at OptimaJet.WorkflowServer.Callback.CallbackProvider.ExecuteActionInternalAsync(String name, ProcessInstance processInstance, String actionParameter) in /home/teamcity-agent/agent/work/a7a0351d523d7d93/OptimaJet.WorkflowServer/Callback/CallbackProvider.cs:line 515\\r\\n at OptimaJet.WorkflowServer.Callback.CallbackProvider.ExecuteActionAsync(String name, ProcessInstance processInstance, WorkflowRuntime runtime, String actionParameter, CancellationToken token) in /home/teamcity-agent/agent/work/a7a0351d523d7d93/OptimaJet.WorkflowServer/Callback/CallbackProvider.cs:line 147\\r\\n at OptimaJet.Workflow.Core.Runtime.AggregatingActionProvider.ExecuteActionAsync(String name, ProcessInstance processInstance, WorkflowRuntime runtime, String actionParameter, CancellationToken token)\\r\\n at OptimaJet.Workflow.Core.Execution.ActivityExecutor.ExecuteActionFromProviderAsync(ActionDefinitionReference method, ExecutionResponseComplete response, CancellationToken token)\\r\\n at OptimaJet.Workflow.Core.Execution.ActivityExecutor.ExecuteMethodAsync(ExecutionRequestParameters parameters, CancellationToken token)\\r\\n at OptimaJet.Workflow.Core.Execution.ActivityExecutor.ExecuteMethodAsyncWithHandling(ExecutionRequestParameters parameters)\\r\\n at OptimaJet.Workflow.Core.Execution.ActivityExecutor.ExecuteMethodAsyncWithHandling(ExecutionRequestParameters parameters)\\r\\n at OptimaJet.Workflow.Core.Execution.ActivityExecutor.TryExecuteAlwaysCondition()\\r\\n----------\\r\\n at OptimaJet.Workflow.Core.Execution.ProcessExecutor.ProcessErrorResponseAsync(ExecutionResponse response, ProcessInstance processInstance, CancellationToken token)\\r\\n at OptimaJet.Workflow.Core.Execution.ProcessExecutor.ExecuteFullAsync(ExecutionRequest executionRequest, CancellationToken token)\\r\\n at OptimaJet.Workflow.Core.Execution.ProcessExecutor.ExecuteCreatedProcessAsync(ProcessInstance processInstance, String identityId, String impersonatedIdentityId, CancellationToken token, ProcessInstancesTree processInstancesTree)\\r\\n----------\\r\\n at OptimaJet.Workflow.Core.Execution.ProcessExecutor.ExecuteCreatedProcessAsync(ProcessInstance processInstance, String identityId, String impersonatedIdentityId, CancellationToken token, ProcessInstancesTree processInstancesTree)\\r\\n at OptimaJet.Workflow.Core.Execution.ProcessExecutor.\u003c\u003ec__DisplayClass11_0.\u003c\u003cInitCreatedProcessAsync\u003eb__1\u003ed.MoveNext()\\r\\n--- End of stack trace from previous location ---\\r\\n at OptimaJet.Workflow.Core.Runtime.MultiThreadProcessExecutor.ExecuteAsync(WorkflowRuntime runtime, ProcessInstance processInstance, ProcessStatus status, TransitionDefinition executedTransition, Func`1 needNewThreadCheck, Func`2 action)\\r\\n at OptimaJet.Workflow.Core.Execution.ProcessExecutor.InitCreatedProcessAsync(String identityId, String impersonatedIdentityId, ProcessInstance processInstance, IDictionary`2 initialProcessParameters, CancellationToken token, ProcessInstancesTree processInstancesTree, TransitionDefinition startingTransition, List`1 persist)\\r\\n at OptimaJet.Workflow.Core.Runtime.WorkflowRuntime.CreateInstanceAsync(CreateInstanceParams createInstanceParams, CancellationToken token)\\r\\n at OptimaJet.WorkflowServer.ConfigApi.WorkflowProcessingAsync(WorkflowServerRuntime workflowServerRuntime, NameValueCollection form) in /home/teamcity-agent/agent/work/a7a0351d523d7d93/OptimaJet.WorkflowServer/ConfigApi.cs:line 1276\\r\\n at OptimaJet.WorkflowServer.ConfigApi.ConfigAPI(WorkflowServerRuntime workflowServerRuntime, HttpRequest request, NameValueCollection form, Stream filestream) in /home/teamcity-agent/agent/work/a7a0351d523d7d93/OptimaJet.WorkflowServer/ConfigApi.cs:line 199\\r\\n at OptimaJet.WorkflowServer.WorkflowServerRuntime.ConfigApiProcessingAsync(HttpRequest request) in /home/teamcity-agent/agent/work/a7a0351d523d7d93/OptimaJet.WorkflowServer/WorkflowServerRuntime.cs:line 1640\"}}```\n\nI get the same issue regardless if I launch via Docker or not.\n\nAny idea what could be the issue?","author":{"url":"https://github.com/Vandevska-E","@type":"Person","name":"Vandevska-E"},"datePublished":"2025-02-18T14:57:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/18/WorkflowServer/issues/18"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2ccacddd-62c1-0de5-38d0-f59497e4bd5a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8A18:8F4AB:823034:B87098:6A4BD47F |
| html-safe-nonce | d5c20f6945dc7ca20b8cfc6f464a1160c39ac3f61b0c70c2a63b605577596ffa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTE4OjhGNEFCOjgyMzAzNDpCODcwOTg6NkE0QkQ0N0YiLCJ2aXNpdG9yX2lkIjoiNzg3MzQ5NDY4NTQzNTI4NjY1NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | be9af5bd5588a6dc51cdc29d1e51e505ac1f302d77c0f22ffcb7e074f6c16287 |
| hovercard-subject-tag | issue:2860705432 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/optimajet/WorkflowServer/18/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0f2aed3823257d84c334a63c7ddcfdc84a2262dc2bee167012b8a0d7bf801fd3/optimajet/WorkflowServer/issues/18 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0f2aed3823257d84c334a63c7ddcfdc84a2262dc2bee167012b8a0d7bf801fd3/optimajet/WorkflowServer/issues/18 |
| og:image:alt | Hi, I am trying to configure an example of a schema and instance by using the Callback Api, and I am getting a bad request error. When I test via the callback swagger it is successful, but when I s... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Vandevska-E |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9df996be9551ac02247d09a2f7f64ece66c35ca28885d346e98fdfda9cdaa37b |
| turbo-cache-control | no-preview |
| go-import | github.com/optimajet/WorkflowServer git https://github.com/optimajet/WorkflowServer.git |
| octolytics-dimension-user_id | 10303570 |
| octolytics-dimension-user_login | optimajet |
| octolytics-dimension-repository_id | 34116582 |
| octolytics-dimension-repository_nwo | optimajet/WorkflowServer |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 34116582 |
| octolytics-dimension-repository_network_root_nwo | optimajet/WorkflowServer |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7242837c61fe4c8b774b83b9ee05b1881ba589f8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width