Stencil (App Definition could not be saved) APS

Showing results for 
Search instead for 
Did you mean: 
Member II

Stencil (App Definition could not be saved) APS

Hello Members, 

I have created a process inside that, I'm using a custom stencil to create a new option (TypeAheadMultiSelect Field). The process is saved properly with no error or warning. But While publishing an app or application I'm getting an error called [App definition could not be saved]. 

I'm using Alfresco Process Service Version 6.

Stencil Code:

<!DOCTYPE html>
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

    outline: none;
    border: none;
    width: max-content;
    border: 1px solid rgb(187, 187, 187);
    width: 100%;
    background-color: white;
    padding: 0.3rem;
    box-shadow: 0 30px 60px rgb(0,0,0,0.2);
    display: none;
    font-size: 1.2rem;
    display: inline-block;
    cursor: pointer;
    transition: 0.2s linear;
    display: block;
    padding-left: 0;
.task span{
    float: right;
    font-size: 0.6rem;
    padding-top: 6px;
    background-color: aliceblue;
    display: block;
    transform: rotate(-60deg);

      <div class="multi-selector">

     <div class="select-field">
  <input type="text" name=""
  placeholder="Choose tasks"
  id="selectTask" class="input-selector">
     <span class="down-arrow">&blacktriangledown;</span>

     <div class="listtt" >


var data=[];
async function fetchData(){
        .then((response)=> response.json())
 > {

     const list = document.querySelector(".listtt");
      const explore = document.querySelector(".input-selector");
    window.addEventListener("DOMContentLoaded", fetchData);
    explore.addEventListener("input", filter);

    var fields = [];
    function onCheck(event){
        let onCheckEvent = data.find(item=>;;

    function loadList() {
      let temp = "";
      data.forEach((item, i)=>{
        temp+=`<label class="task"> <input type="checkbox" name="" id="${}">${} </label>`;
    list.innerHTML = temp;
    data.forEach((item, i)=>{
        let checkbox = document.getElementById(`${}`);
        checkbox.addEventListener('change', onCheck);

function filter(e) {
    let temp = '';
    const result  = data.filter(item=>;
      result.forEach((item, i)=>{
       temp+=`<label class="task"> <input type="checkbox" name="" id="${}">${} </label>`;
        temp =" ";
    list.innerHTML =temp;
    data.forEach((item, i)=>{
        let checkbox = document.getElementById(`${}`);
        checkbox.checked = item.value;
        checkbox.addEventListener('change', onCheck);}

Below are some attachment you can see.MicrosoftTeams-image (4).png


MicrosoftTeams-image (5).png


Inside APS log content with id  406 was not foundInside APS log content with id 406 was not found

It will be very benifical for the community, if someone solve the issue regarding stencil.

Thank you,


1 Reply
Member II

Re: Stencil (App Definition could not be saved) APS

Hello Member's 

Regarding stencil (App Definition could not be saved) APS, that is not working on Activit 6, I have used Activiti 7 versions, I have tried to publish stencil app on Activiti version 7, It is published properly and working fine. 

Activiti 6 is not supporting to publishing the stencil app, while an updated version Activiti 7 in which we can able to perform the stencil task and publish the stencil app.