Forum Discussion
angela Did you ever find a solution to this? I'm also looking to use a regular server method to do all the work in an onConvert event. The method does fire and complete, but leaves the Conversion Task in an InProgress state, with the onConvert task InProgress.
The answer is unfortunately no. But I never really tried again. I once did some test to mimic a Conversion Server behavior by triggering the transactions manually in server Methods. This was a quite promising approach (which brings zero benefit regarding server performance, cause we stay on the same server...). I never used in production.
So far whenever I have a time consuming task that would benefit from using the conversion server....I end up using another solution that works just as well....
One approach that I use in another project is a "ready-to-go" DLL that does all the ConversionServer related work. I always wanted to recreate this one, but so far never found the time and use case.
I still would be highly interesting in a 100% Method based solution!
- jeremy_biggs_capellaspace_com18 days agoIdeator II
Yeah, the solution I ended up with (https://community.aras.com/discussions/development/is-it-possible-to-create-custom-conversionserver-tasks-without-external-dll/8699/replies/17248) just runs onBeforeConvert/OnAfterConvert methods and just skips the OnConvert completely, but in my case performance impact on app server was not a concern and I actually wanted the entire convert method to roll back if it failed, so I didn't really need to offload the processing to a separate server. Maybe someone will eventually post the solution, but for now, on to bigger and better things :-)