[Form] Como abrir outra página ou um lightbox / modal a partir estando em um Form ou Workflow
function openLightBox(tamanho, url) {
var __baseUrl = customPageContext.url.getBaseUrl();
url = __baseUrl + url;
formContext.openLightBox(url, tamanho)
}
//Abrir lightbox tela cheia
//Abrir um custom page
openLightBox('fullscreen', 'custompage/6d6d2752-5fcd-4303-aa1b-1ab9e32b38d3')
//Abrir lightbox tamanho grande
//Abrir um form de cadastro
openLightBox('g', 'fluxo/index/0153b02c-d4d8-4747-9a69-45aafa113f81/1f25c74f-a048-4d83-86eb-f31b9608b615')
//Abrir lightbox tamanho médio
//Abrir um list de um form
openLightBox('m', 'fluxo/list/0153b02c-d4d8-4747-9a69-45aafa113f81')
//Abrir lightbox tamanho pequeno
//abrir um board
openLightBox('p', '/b/YKYZ92/custom-code')