I have created a translator with the dispather to translate odt or ods in PDF (the translator is working well):
Now I would like to have an automatic translation in a workflow:
1. I send a DocumentRevision (with odt dataset) in a workflow
2. I validate a review task
3. The workflow translate the odt on PDF and add the PDF in my Document Revision
4. Add status on the PDF dataset
Wich handler can I use to do that ?
Solved! Go to Solution.
Thank you for your quick answer.
I don't know how this handler is working, maybe could you help me ?
I try the TSTK-CreateTranslationRequest but I have 2 issues:
- I have that error message
- In the dosumentatation I can see arguments DatasetTypeName : Specifies the dataset name for the selected workflow and item revision. Custom types cannot be specified
Do you have any idea of what I could do ?
the first argument should be -ProviderName matching the value in the dispatcher conf files.
Your screen grab shows a missing 'r' in the argument (-ProvideName).
Effectively I forgot the "r". now the workflow is working but the translate isn't complete. I can see on the administration translation console --> Terminal and not Complete.
The PDF is not generated. Manually I don't have the problem.
Do you have any idea ?
Effectively I have an error:
2017-03-24 14:53:56,997 INFO - Begin Extract of Request Uda8d2178458d524ec23ax
2017-03-24 14:53:59,290 INFO - Validating Request
2017-03-24 14:53:59,361 ERROR - Cannot find task preparation class specified by service configuration for Siemens libreofficetopdf (null)
java.lang.Exception: Cannot find task preparation class specified by service configuration for Siemens libreofficetopdf (null)
2017-03-24 14:53:59,407 DEBUG - Task Uda8d2178458d524ec23ax updated from PREPARING to TERMINAL
I don't anderstand why I don't have this problem when i do the translate manualy.
Do you have any idea ?
Can you check if libreofficetopdf (jar) is specified in the path (dispatcher client/bin batch files)?
I didn't create any custom java class.
I use standard classes and I set through Teamcenter preferences information which has to be exported and imported.
this is running well manually.
Do you thing this is a problem for a use through the dispatcher ?