on 2019 Apr 29 2:57 AM
How can you st business process ? what are the possible ways?
Request clarification before answering.
You can start the business service via typical java code using BusinessProcessService and using following groovy code snippet
import de . hybris . platform . servicelayer . model . ModelService
import de . hybris . platform . processengine . BusinessProcessService
ModelService modelService = spring . getBean(”modelService”)
BusinessProcessService bpService = spring . getBean(”businessProcessService”)
MyProcessModel myprocess = bpService . createProcess (”myProcess” +
System . currentTimeMillis () , ”myProcess”)
myprocess . setFail ( true )
myprocess . setError ( true )
modelService . save (myprocess)
bpService . startProcess (myprocess)
modelService . refresh (myprocess)
println myprocess . state
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can do it from code using BusinessProcessService class methods to create and start business process. from bac koffice you can search for process and repair as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.