Thanks remkonoteboom! I used as you mentioned and it works ok when I create a new item with the + (Add New Item) where pipeline_co is ProjectName####, but when I create a Pipelines with the plugin the pipeline_code is the name without prefix: in the pipeline definition below for example is "PP_Assets3D"
#-- Start Entry --#
insert = SearchType.create('sthpw/pipeline')
insert.set_value('code', """PP_Assets3D""")
insert.set_value('data', """{"node_index": 4}""")
insert.set_value('description', """Pipeline Assets 3D""")
insert.set_value('name', """PP_Asset3D""")
insert.set_value('pipeline', """<pipeline>
Would it be possible to do something like this?
insert.set_value('code', {@GET(project.code)} + """PP_Assets3D""")
Cheers and thanks again!
#-- Start Entry --#
insert = SearchType.create('sthpw/pipeline')
insert.set_value('code', """PP_Assets3D""")
insert.set_value('data', """{"node_index": 4}""")
insert.set_value('description', """Pipeline Assets 3D""")
insert.set_value('name', """PP_Asset3D""")
insert.set_value('pipeline', """<pipeline>
Would it be possible to do something like this?
insert.set_value('code', {@GET(project.code)} + """PP_Assets3D""")
Cheers and thanks again!
Nachogor