It appeared that it is enough to use the attribute with pushResults
equal to true and then set the return type of the function to e. g. string
. Then one can access this value produced by parent in continuation jobs by invoking context.GetJobParameter<SomeType>("AntecedentResult")
where context
is PerformContext
(supplied by hangfire)
↧
Answer by MikelThief for How to pass result from parent job to its continuation
↧