Jazz Register Log in
Jazz Forum Welcome to the Jazz Community Forum

Welcome to the Jazz Community Forum

Connect and collaborate with IBM Engineering experts and users

How can caterory selection be enforced when creating an asse

Similar to constraints and attributes being made mandatory when creating an asset, I want to make category selection mandatory. How is this achieved? I am using RAM 7.5.

0 votes



8 answers

Permanent link
There is a 'Category Validation Policy' which you can use to ensure that categories were selected under a specific schema or hierarchy. For example, if you had a 'Geography' schema you could ensure that a category was selected under this schema.


Hi All,

I've the same @taltamura needs. In my case, the selected category define which lifecycle will be used for the added asset. In this time the "Category Validation Policy" doesn't works, or at least, doesn't block the asset creation.

1 vote


Permanent link
You're correct that you can not use the Category Validation Policy to block the asset creation. One option is to use a two state lifecycle (for example, the default Simple lifecycle) and set up a transition rule stating that the Category Validation Policy must be approved to move from the Submitted to Approved state. Then, you could override all permissions for the Submitted state so that only collaborators will see the asset when it is in this state. For the asset to be visible to the community, it would have to be moved to the Approved state which would only be possible once the Category Validation Policy has passed.

1 vote


Permanent link
One option would be to use a lifecycle and add the 'Categorize Asset Policy' to the first state. This will automatically categorize the asset when it is submitted and the submitter will not have to make a category selection.

0 votes


Permanent link
The category to aassociate to an asset cannot be derived so this doesn't help, we need an end user to add the categories. Is there a policy we could use when a state change occurs to validate that a category has been selected as validation before changing state?

0 votes


Permanent link
There is a 'Category Validation Policy' which you can use to ensure that categories were selected under a specific schema or hierarchy. For example, if you had a 'Geography' schema you could ensure that a category was selected under this schema.

0 votes


Permanent link
Hi,

There is no way to block asset creation. If the user has the authority
to create assets then the user can create them.

--
Rich Kulp
Rational Asset Manager developer

0 votes


Permanent link
yes, it does not block the asset creation, but it can inhibit it from moving from (say) Draft to Publish

0 votes


Permanent link
yes, it does not block the asset creation, but it can inhibit it from moving from (say) Draft to Publish


Exactly, but I've one variation about lifecycle.
My assets can be designed for 2 possibles lifecycles, and choose among one and other is category dependent.

I solved this problem put the users as collaborators in the first state, restarting them when the asset is saved and like @gmendel says inhibiting at the states change.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Nov 06 '10, 8:42 p.m.

Question was seen: 5,538 times

Last updated: Nov 06 '10, 8:42 p.m.

Confirmation Cancel Confirm