when I use the handler: EPM-create-sub-process I need to exclude all type of datasets and only work on the "stylesheet"
For this moment I use this:
- template: NAME OF SUBWORKFLOW - from_attach: target - to_attach: target -exclude_types: UGMASTER, UGPART
But with this solution, I need to insert all types I have into the arguement "exclude_types"
Have you a solution to work on it? (With the relation or other idea?)
Thank you for your help
Solved! Go to Solution.
I think you can give argument for exclude_type as Dataset like below
-emplate: NAME OF SUBWORKFLOW
- from_attach: target
- to_attach: target
This excludes all subtypes of Dataset too.
I m not sure what you mean by 'exclude all type of datasets and only work on the "stylesheet"'.
Are you referring to stylesheet as a type of dataset which you want to consider?
thank you for your answer. I test it now and I can say, it doesn't work.
Have you another idea?
First I will explain my first issue why I will exclude some datasets. Perhaps, my idea to remove datasets into the targets is wrong.
My idea is to delete this information into the "Form" when a ReviewTask step is refuse :
I will start a sub-workflow (Easily to manage in our lot of workflow).
If I delete the "-Exclude-types" handler and start a workflow on an item with datasets (UGMaster example). I have this error message:
I think the fundamental problem here is that you first have to understand where the 6 properties, bus4_approver_name, bus4_approver_data, bus4_norm, bus4_norm_date, bus4_supervisor_name, and bus4_supervisor_date, are defined.
If you're looking at these on the summary tab of the item revision, it's most likely they are defined on the item revision, not on the item revision master form. If they are, you have to make sure the item revision is the target of the subworkflow.
If the properties are really defined on the item revision master form, you have to make sure the master form is the target of the subworkflow.
I'm still "junior" on BMIDE! But in the printscreen I do, for me the attributes are defined on ItemRevision.
How I can work with your experience?
As all your 6 properties are defined on COTS type ItemRevision itself.
Try with below combination.
-template = SUB: Clear Release Information
-from_attach = Target
-to_attach = Target
-include_type = ItemRevision
Instead of using exclude_type argument, include_type argument can be used to include only ItemRevision (or any of its subtypes) for the subprocess.