Skip to main content
June 11, 2024
Question

ERROR in Create Group smart service.

  • June 11, 2024
  • 4 replies
  • 0 views

Create group smart service is throwing an error which reads: 

Problem:  An error occurred in executing an Activity Class.

Details:  A system error occurred while creating the group.

Recommended Action:  Examine the activity class to correct the error and then resume.

What I have tried -

  • I believe all parameters are correctly configured and values are being fetched correctly in the process variables.
  • Also, the same process is running correctly in different environment with the same values. 
  • Checked the security of the process model.
  • I checked the System Logs and it reads:

2024-06-11 10:28:24,162 [Appian Work Item - 572737 - WorkID 64 - execution00 - process 311873 - model 277 : UnattendedJavaActivityRequest] ERROR com.appiancorp.process.runtime.activities.CreateCustomGroupActivity - SignalException: Received signal InvalidCreatorException from GROUPS.createGroup on groups
SignalException: Received signal InvalidCreatorException from GROUPS.createGroup on groups
	at com.appian.komodo.client.Dispatcher$EngineResponseListener.handleSuccess(Dispatcher.java:148)
	at com.appian.komodo.client.Dispatcher$EngineResponseListener.operationComplete(Dispatcher.java:132)
	at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:590)
	at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:583)
	at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:559)
	at io.netty.util.concurrent.DefaultPromise.access$200(DefaultPromise.java:35)
	at io.netty.util.concurrent.DefaultPromise$1.run(DefaultPromise.java:503)
	at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173)
	at io.netty.channel.DefaultEventLoop.run(DefaultEventLoop.java:54)
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
	at java.lang.Thread.run(Thread.java:750)
2024-06-11 10:28:24,165 [Appian Work Item - 572737 - WorkID 64 - execution00 - process 311873 - model 277 : UnattendedJavaActivityRequest] ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=8205, classname=com.appiancorp.process.runtime.activities.CreateCustomGroupActivity
com.appiancorp.suiteapi.process.framework.ActivityExecutionException: A system error occurred while creating the group.
	at com.appiancorp.process.runtime.activities.CreateCustomGroupActivity.createException(CreateCustomGroupActivity.java:153)
	at com.appiancorp.process.runtime.activities.CreateCustomGroupActivity.execute(CreateCustomGroupActivity.java:139)
	at com.appiancorp.suiteapi.process.framework.AbstractActivity.perform(AbstractActivity.java:104)
	at com.appiancorp.process.runtime.framework.LegacyActivityExecutor$2.call(LegacyActivityExecutor.java:90)
	at com.appiancorp.process.runtime.framework.LegacyActivityExecutor$2.call(LegacyActivityExecutor.java:87)
	at com.appiancorp.common.ContextClassLoaderSwitcher.runInContext(ContextClassLoaderSwitcher.java:24)
	at com.appiancorp.process.runtime.framework.LegacyActivityExecutor.execute(LegacyActivityExecutor.java:87)
	at com.appiancorp.process.engine.UnattendedJavaActivityRequest.execute(UnattendedJavaActivityRequest.java:88)
	at com.appiancorp.process.engine.UnattendedJavaActivityRequestResponseCreator.getJavaActivityResultResponse(UnattendedJavaActivityRequestResponseCreator.java:22)
	at com.appiancorp.process.engine.UnattendedJavaActivityRequest.getJavaActivityResultResponse(UnattendedJavaActivityRequest.java:67)
	at com.appiancorp.process.engine.UnattendedJavaActivityRequest.execute0(UnattendedJavaActivityRequest.java:55)
	at com.appiancorp.common.persistence.data.AppianDataUserContextProvider.executeWithConsistentDataReads(AppianDataUserContextProvider.java:143)
	at com.appiancorp.process.engine.ProcessContinuationRequest.executeOuter(ProcessContinuationRequest.java:68)
	at com.appiancorp.process.engine.ContinuationRequest.execute(ContinuationRequest.java:129)
	at com.appiancorp.process.workpoller.UnattendedRequestHandlerBean.onMessage(UnattendedRequestHandlerBean.java:36)
	at com.appiancorp.process.workpoller.WorkItem.run(WorkItem.java:110)
	at org.springframework.jca.work.SimpleTaskWorkManager$DelegatingWorkAdapter.run(SimpleTaskWorkManager.java:241)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:750)
Caused by: SignalException: Received signal InvalidCreatorException from GROUPS.createGroup on groups
	at com.appian.komodo.client.Dispatcher$EngineResponseListener.handleSuccess(Dispatcher.java:148)
	at com.appian.komodo.client.Dispatcher$EngineResponseListener.operationComplete(Dispatcher.java:132)
	at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:590)
	at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:583)
	at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:559)
	at io.netty.util.concurrent.DefaultPromise.access$200(DefaultPromise.java:35)
	at io.netty.util.concurrent.DefaultPromise$1.run(DefaultPromise.java:503)
	at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173)
	at io.netty.channel.DefaultEventLoop.run(DefaultEventLoop.java:54)
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
	... 1 more

4 replies

stewart.burchell
June 11, 2024

Check the security again - you're getting an 'InvalidCreatorException'...are you sure that the Assignment for this node is to an account that has the necessary permissions?

June 11, 2024

Yes, I have sys admin access. The assignment of this node is correct. I do have necessary permissions.
I have also tried to deploy the PM from the environment in which it was working. Its throwing the same error.


June 11, 2024
Try "Run as whoever designed this process model" option available under the Assignment tab. User starting this process may not have required permission.
Also, share Lane configuration if not resolved.