0

I am creating a custom workflow in share and everything works perfectly until when I wanted to show logged user details like first name, last name, email, department, telephone etc on the share form when I click on start workflow. Is it possible to show these variables before the process instance has been started? If yes, how do i do this? If no, what is the work around of this ?

Kindly assist

user1989497
  • 35
  • 1
  • 6
  • 1
    Just so I understand your question, do you want these details to be shown before the workflow is started, or immediately after? – Alan Jun 29 '15 at 14:26
  • @Alan George I want the details to be shown before the workflow is started. – user1989497 Jun 30 '15 at 06:41

2 Answers2

0

To show your form in the custom workflow you need to add related configuration in the alfresco share. For Instance

My workflow name is "myCustomWorkflow" then you can define config in your share-config-custom.xml which will configure the workflow form.

<config evaluator="string-compare" condition="activiti$myCustomWorkflow">
mitpatoliya
  • 2,037
  • 12
  • 23
0

Check below answer.

Alfresco: Defining new Control-Params.

In ftl file ,you can use javascript object and print current logged in user in first form , even though your workflow is not started.There are more than one way to achieve this.This is one of them.

Community
  • 1
  • 1
Krutik Jayswal
  • 3,165
  • 1
  • 15
  • 38