DCTM: CS: Replace activity in workflow

################################################################
Update a process activity
################################################################
Find a the process r_object_id with DQL
select r_object_id, object_name from dm_process where object_name = ‘<ProcessName>’

# dump the process
dump,c,<proess_id>
# check which activity you want to modify by looking at r_act_name
# and taking the corresponding r_act_def_id

# update activity
fetch,c,<r_act_def_id>
getfile,c,l,D:\path\to\<r_act_def_id>.xml
# make desired changes to “D:\path\to\<r_act_def_id>.xml”

# update file
setfile,c,l,D:\path\to\<r_act_def_id>.xml
save,c,l

Leave a Reply

Your email address will not be published. Required fields are marked *