cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

[IM] "deferred relationship" between items possible?

JensN.
13-Aquamarine

[IM] "deferred relationship" between items possible?

Hi @all,

today some users came to me and asked me if following would be possible:

We have amongst others two itemtypes in our changemanagement: lib-request and package-request. The lib-request has a relationship-field, which can hold some of the package-requests. The idea was that user a could place a package-request into the relationship-field of the lib-request, but this should be some kind of deferred relationship, and user B has to confirm (or negotiate) this relationship. Is this possible (without a third request)?

Thanks, Jens

1 ACCEPTED SOLUTION

Accepted Solutions
mrump
14-Alexandrite
(To:JensN.)

Hi Jens,

What about 2 relationship fields in the lib-request (like "proposed Relation" and "accepted Relation") and a kind of "staging/review" workflow?

Only one of the Fields (proposed Relation) is editable by the users, the other one is read only (except for your scripting accound)

Write a trigger script that copies the Relatiionship from one field to the other, in case the triggers run conditions are met (e.g. a State change to "confirmed")?

HTH Matthias

View solution in original post

2 REPLIES 2
mrump
14-Alexandrite
(To:JensN.)

Hi Jens,

What about 2 relationship fields in the lib-request (like "proposed Relation" and "accepted Relation") and a kind of "staging/review" workflow?

Only one of the Fields (proposed Relation) is editable by the users, the other one is read only (except for your scripting accound)

Write a trigger script that copies the Relatiionship from one field to the other, in case the triggers run conditions are met (e.g. a State change to "confirmed")?

HTH Matthias

JensN.
13-Aquamarine
(To:mrump)

Hi Matthias,

thanks for your hint, this looks promising.

kind regards, Jens

Top Tags