Good afternoon, I have a question, we generate PDF using the dispatcher, but the dispatcher needs time to generate the PDF, and I need to set the status to PDF after generating the PDF.
Is there any way to create an automatic check in Workflow that all PDFs were created by the dispatcher?
At the moment I am using the Validation Task and the Do Task, but in this case the user needs to manually check that the PDFs were created and complete the Do Task.
I tried to do the checks described in these topics:
But these methods cause the Teamcenter interface to freeze until the dispatcher completes the work.
Maybe someone has any ideas or suggestions how to make an automatic check in Workflow? I would like to use tools available from OOTB.
We too use Dispatcher to create PDFs and also DXFs. We dont release these Datasets, but I can understand why Admins may want to.
I dont know how you could check that pdfs were created? I have it setup to email if a PDF fails..
To automatically release PDFs though, using some OOTB methods, I think you could using windows Task Scheduler, have a task that uses query_xml with a pff to return unstatused pdfs, and then build a script that uses release_man?
Or, if you had IPS you could use a Scheduled Task to launch a workflow that searched for released revisions with WIP pdfs and gather and release them.
Good afternoon @ProspectPLM, we have the same setting to receive a notification by e-mail if the translation task started by the dispatcher ends with an error. Did you mean it?
At the moment my check is done like this:
But it does not solve all my problems because I can check only all the ItemRevisions, but I need to check only those ItemRevisions that have the UGMASTER dataset.
I unfortunately do not have access to the ips_uploader utility.
I have configured the service.properties file located in the \DispatcherClient\conf folder:
So when dispatcher fails to create a PDF or DXF I get an email. I then investigate and put it right.
We only have 1 main workflow, and this checks properties, approvals, and then the last steps are to set the status and create a dispatcher request. In this workflow I used to have checks for things that would cause Dispatcher to fail, and then either automatically fix it, or get the user to fix it. This way I knew the data was robust to be sent to Dispatcher and it wouldn't fail. I have been able to fix 99% of issues that would cause Dispatcher to fail so have removed the checks now.
I have another workflow that is titled "Create PDF and DXF". So if users find a drawing that doesnt have a PDF/DXF, they submit it to this workflow to create one.
Regarding status of DXFs & PDFs... I don't status them. The only reason I can think you are statusing them is to prevent users from editing them? If thats the case, then the only way they can edit them I think is by checking the dataset out and accessing the Named References. If you dont need access to the Named References function, then you could suppress it using Command Suppression for all users, and maybe just allow a certain role to to have access to it for the odd occasion its needed (Group Admin, Manager etc). An alternative method could be to prevent CICO of PDFs in the Access Manager Rule Tree. I havent tested this, and it may throw up errors if you have implicit CICO enabled.
I don't have a complete solution, but if I were in your place, i will looked on:
and look on:
Maybe need to develop a little bit customization for you purpose
so, and please to General query, try to set Type as DispatcherRequest
@ProspectPLM, we also have configured notifications for the dispatcher.
@SedoykinAlexey, thanks for the links. I'll think about it.
At the moment, I’ve stopped on a manual check using the Do Task, as described by LarryCarpenter in his presentation here:
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4