- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi @philip1009,
thnx for answering.
No, i don't wanna control content of document. Just to attach created copy of renamed template PDF checklist document.
And yes, i wanna just as you sad...
@philip1009 wrote:... a rule that checks if there's an attached PDF matching the same name as the document, and if none exists copy a PDF from a template matching the drawing name and attaching it?
In PDF document are information about how to manufacture this component/assembly, welding procedures, coatings...etc...etc...
So, workflow is like this:
1. user creates drawing based on part/assembly,
2. Vault is naming it to D###### (for example D000123),
3. User is manually activating iLogic rule,
4. iLogic rule prechecks is there any PDF already attached in active document. If he finds it than rule does nothing,
5. same ilogic creates copy of template PDF checklist (CL-D000000) located on fixed location (for example C:\Vault\Libraries\Checklist\),
5. same iLogic rule rename copy of PDF checklist to match drawing name but add prefix to it "CL-" (for example CL-D000123 ),
6. same iLogic rule link that generated, renamed PDF checklist document to active drawing document.
And that's it ![]()
Hi @AlexFielder,
thnx for the code. I will definitely try to use some part of yours code ![]()
Vault is Workgroup. I am thinking in the future, maybe, to use Job Processor and custom job to do that in some lifecycle state. For now i will first try to use iLogic
Thnx,
Goran