Hi all,
I'm modifying a WF template, and included a new background task to perform validations. This tasks use an specific number which is fetched from the WF container among other values.
The task has assigned a method from an specific BO. When I test the task by itself executing it through the object and assigning an instance of a WF it works fine, but when the task is used at run time and called by the WF it is not working as expected.
I cannot debug the method by setting a break point because it performs in the background task. I have tried changing it as dialog task but it didn't work, the flow continues without stopping.
I'm thinking that the problem is because the specific number is not getting to the method, but is assigned in the container and other values are getting there correctly. I came to this conclusion because I use this number in a simple select and the process is not passing the validation for sy-subrc after the statement. But I checked the bindings and everything is fine.
Probably is a missing configuration or something. I'm running out of ideas and will appreciate any help.
Thanks,
Luisa