You might have used a standard agent/ Process Queue for the case creation within the Job Scheduler. In the calling activity, please check if the privileges have been removed, and is checked for direct invocation.
@SasidharB9516 In general it should take from case type rule. Whenever case is created pyDefault at case level will be triggered. When this happens pyDefault DT which is in @baseclass is also triggered as "Call superclass data transform" is checked by default. In this .pyWorkIDPrefix is initialized with "C-" as prefix. If work object prefix is not overridden either in pyDefault DT at the case level or not considered from Case Type rule then this prefix is set when while creating case.
Can you try any of below methods.
1. Update JS context to Specify Access Group and mention your application access group. If still this doesn't work try second approach.
2. Create one pyDefault DT in the Case Type Class and initialize this property with corresponding Prefix and specify the context as System Run Time Context.