We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If I have a running workflow for a service that is in progress the Service Request Workflow States table doesn't show the current state
Example workflow context:
context: {"Task"=>{}, "State"=> {"Guid"=>"0e95574e-a28b-4692-906b-ec595c96e1c8", "Name"=>"Provision", "Input"=>{}, "EnteredTime"=>"2024-05-15T17:42:55Z", "RunnerContext"=>{"method"=>"provision_execute", "running"=>true, "miq_request_task_id"=>6}}, "Execution"=> {"Input"=>{}, "StartTime"=>"2024-05-15T17:42:55Z", "_object_id"=>6, "_object_type"=>"ManageIQ::Providers::Vmware::InfraManager::Provision", "_manageiq_api_url"=>"http://localhost:4000"}, "StateHistory"=> [{"Guid"=>"22f6d0a7-0143-4415-b11b-64f9679af00f", "Name"=>"PreProvision", "Input"=>{}, "Output"=>{}, "Duration"=>0.643860947, "NextState"=>"Provision", "EnteredTime"=>"2024-05-15T17:42:55Z", "FinishedTime"=>"2024-05-15T17:42:55Z"}], "StateMachine"=>{}}
As you can see the current state is "Provision":
{"Guid"=>"0e95574e-a28b-4692-906b-ec595c96e1c8", "Name"=>"Provision", "Input"=>{}, "EnteredTime"=>"2024-05-15T17:42:55Z", "RunnerContext"=>{"method"=>"provision_execute", "running"=>true, "miq_request_task_id"=>6}}
It has an EnteredTime and no FinishedTime because it is currently running.
EnteredTime
FinishedTime
The Workflow States table only shows the prior state PreProvision
PreProvision
The text was updated successfully, but these errors were encountered:
cc @GilbertCherrie
Sorry, something went wrong.
This pr should fix this issue: #9191
GilbertCherrie
Successfully merging a pull request may close this issue.
If I have a running workflow for a service that is in progress the Service Request Workflow States table doesn't show the current state
Example workflow context:
As you can see the current state is "Provision":
It has an
EnteredTime
and noFinishedTime
because it is currently running.The Workflow States table only shows the prior state
PreProvision
The text was updated successfully, but these errors were encountered: